Showing posts with label thiết kế web. Show all posts
Showing posts with label thiết kế web. Show all posts

Saturday, June 23, 2018

How To Install PrestaShop In Local Host Using XAMPP

<iframe width="560" height="315" src="https://www.youtube.com/embed/uca1upYp3nw" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>

Thursday, March 30, 2017

Top phần mềm xây dựng trang web miễn phí tốt nhất năm 2017

1. Wix
Top phần mềm xây dựng trang web miễn phí tốt nhất năm 2017 - 1
Wix là cách đơn giản nhất để xây dựng trang web của riêng bạn, với các thủ thuật nhanh và trình soạn thảo WYSIWYG thông minh.
Wix cung cấp hai phương pháp để xây dựng trang web. Phương pháp đơn giản nhất là sử dụng công cụ xây dựng trang web Wix ADI (Artificial Design Intelligence). Công cụ này sẽ hướng dẫn bạn qua hàng loạt câu hỏi trước khi tự động tạo trang web cho bạn.
Một phương pháp tiếp cận thực tế hơn, có sẵn nếu bạn quyết định sử dụng trình Wix Editor tiêu chuẩn. Có hàng trăm mẫu phong cách để lựa chọn, bạn có thể tinh chỉnh và điều chỉnh cho phù hợp với nhu cầu của bạn bằng cách sử dụng trình biên tập WYSIWYG.
Wix cung cấp cho bạn một mức độ kiểm soát tuyệt vời đối với giao diện của trang web và vị trí của các công cụ. Bạn cũng có thể sử dụng App Market để thêm các tính năng như bản tin và live chat.
2. WordPress
Top phần mềm xây dựng trang web miễn phí tốt nhất năm 2017 - 2
Có hai phiên bản khác nhau của WordPress. WordPress cho phép bạn tạo trang web của riêng mình trên wordpress.com. Bạn có thể tạo mọi thứ từ trang blog hoặc trang ảnh, đến một cửa hàng trực tuyến. Bạn có thể tạo một trang web tĩnh, hoặc một trang web theo phong cách blog với nội dung cập nhật thường xuyên. Nhược điểm duy nhất là giới hạn các plugin và các mẫu được giới hạn so với trình tạo trang web trên máy tính để bàn.
3. CoffeeCup Free HTML Editor
Top phần mềm xây dựng trang web miễn phí tốt nhất năm 2017 - 3
Đây là phần mềm lý tưởng cho việc mã hoá trang web bằng tay, trình chỉnh sửa HTML miễn phí giúp tiết kiệm thời gian.
CoffeeCup Free HTML Editor là một trong những phần mềm xây dựng trang web không có hệ thống quản lý nội dung (CMS). Phần mềm này có khả năng tự hoàn thành mã và sửa lỗi người dùng. Phần mềm có sẵn nhiều chủ đề website dành cho nhiều nhu cầu khác nhau. Trang web sau khi hoàn thành sẽ tương thích với nhiều trình duyệt phổ biến như Internet Explorer, FireFox, Chrome. Tuy nhiên, nhược điểm của phần mềm này là một số tính năng như kiểm tra chính tả và tối ưu hóa mã, chỉ được tích hợp trong phiên bản trả phí của phần mềm.
4. Joomla
Top phần mềm xây dựng trang web miễn phí tốt nhất năm 2017 - 4
Một phần mềm xây dựng trang web miễn phí khác là Joomla. Nó có thể không phổ biến như WordPress, nhưng nó cung cấp hai lựa chọn: xây dựng một trang web bằng cách sử dụng các ứng dụng web tại joomla.com và có nó được lưu trữ trên các máy chủ, hoặc tải phần mềm từ joomla.org và lưu trữ nó cho riêng mình.
Nếu bạn chọn tùy chọn thứ hai, bạn sẽ nhận thấy rằng giao diện dễ tiếp cận hơn WordPress. Nó thích hợp cho người mới bắt đầu. Điểm cộng của Joomla là bộ sưu tập khổng lồ các chủ đề và phần mở rộng, cung cấp nhiều lựa chọn tùy chỉnh cách trang web.
5. SITE123
Top phần mềm xây dựng trang web miễn phí tốt nhất năm 2017 - 5
Như chính tên gọi của nó, ý tưởng của phần mềm SITE123 là tạo trang web đơn giản nhất có thể. Cũng như các phần mềm xây dựng trang web miễn phí trực tuyến khác, bạn bắt đầu bằng cách chọn một định dạng chung - cho dù đó là một blog đơn giản hoặc một cái gì đó phức tạp hơn như một trang web của cửa hàng. Sau khi đã điền vào một vài thông tin cơ bản, bạn sẽ bắt đầu tùy chỉnh nó. Tất cả mọi bước đều được hướng dẫn, chỉ trong vài phút, bạn có thể tạo trang web với số lượng trang không giới hạn, hoàn chỉnh với lưu trữ miễn phí và thậm chí có cả thư viện hình ảnh và biểu tượng miễn phí để sử dụng

Thursday, December 29, 2016

How to hide the All tab from the Menu bar in sugarcrm

How to Hide The ALL tab from the Menu bar 

Here i am explaining how to hide the All Tab Menu Bar from sugarcrm 6.4.4

STEP 1 :

Go to file
    /include/MVC/View/SugarView.php
open the file in the php editor

STEP 2 :

Go to line number 509 and comment the line
 $groupTabs[$app_strings['LBL_TABGROUP_ALL']]['modules'] = $fullModuleList;
below that add a new code
 $groupTabs[$app_strings['LBL_TABGROUP_ALL']]['modules'] = '';

So when you set that All menu tab only display one item under the subtab.

STEP 3 :

Now moving forward got to line number 513 and comment the line
$allGroup = $app_strings['LBL_TABGROUP_ALL'];


below that add a new code
  $allGroup = $app_strings['LBL_TABGROUP_ALL']  = '';


For the higher version means Sugarcrm 6.5.* use the following way

/include/MVC/View/SugarView.php

Find for the " $ss->assign("groupTabs",$groupTabs);"

just above this line put this code

//this code is used to hide the all tab

unset($groupTabs['All']);
$ss->assign("groupTabs",$groupTabs);


STEP 4:

 Now save the file and refresh your sugarcrm instance. you will not find the ALL menu tab.

Wednesday, October 16, 2013

13 Apache Web Server Security and Hardening Tips

Apache Security Tips

We all are very familiar with Apache web server, it is a very popular web server to host your web files or your website on the web. Here are some links which can help you to configure Apache web server on your Linux box.

Here in this tutorial, I’ll cover some main tips to secure your web server. Before you apply these changes in your web server, you should have some basics of the Apache server.

  1. Document root Directory: /var/www/html or /var/www
  2. Main Configuration file: /etc/httpd/conf/httpd.conf (RHEL/CentOS/Fedora) and /etc/apache/apache2.conf (Debian/Ubuntu).
  3. Default HTTP Port: 80 TCP
  4. Default HTTPS Port: 443 TCP
  5. Test your Configuration file settings and syntax: httpd -t
  6. Access Log files of Web Server: /var/log/httpd/access_log
  7. Error Log files of Web Server: /var/log/httpd/error_log
1. How to hide Apache Version and OS Identity from Errors

When you install Apache with source or any other package installers like yum, it displays the version of your Apache web server installed on your server with the Operating system name of your server in Errors. It also shows the information about Apache modules installed in your server.

Show Apache Version

Show Apache Version

In above picture, you can see that Apache is showing its version with the OS installed in your server. This can be a major security threat to your web server as well as your Linux box too. To prevent Apache to not to display these information to the world, we need to make some changes in Apache main configuration file.

Open configuration file with vim editor and search for “ServerSignature“, its by default On. We need to Off these server signature and the second line “ServerTokens Prod” tells Apache to return only Apache as product in the server response header on the every page request, It suppress the OS, major and minor version info.

# vim /etc/httpd/conf/httpd.conf (RHEL/CentOS/Fedora)
# vim /etc/apache/apache2.conf (Debian/Ubuntu)




ServerSignature Off
ServerTokens Prod




# service httpd restart (RHEL/CentOS/Fedora)
# service apache2 restart (Debian/Ubuntu)



Hide Apache Version





Hide Apache Version



2. Disable Directory Listing


By default Apache list all the content of Document root directory in the absence of index file. Please see the image below.



Apache Directory ListingApache Directory Listing



We can turn off directory listing by using Options directive in configuration file for a specific directory. For that we need to make an entry in httpd.conf or apache2.conf file.




<Directory /var/www/html>
Options -Indexes
</Directory>



Hide Apache Directory ListingHide Apache Directory Listing



3. Keep updating Apache Regularly


Apache developer community is continuously working on security issues and releasing its updated version with new security options. So It is always recommended to use the latest version of Apache as your web server.



To check Apache version: You can check your current version with httpd -v command.




# httpd -v
Server version: Apache/2.2.15 (Unix)
Server built: Aug 13 2013 17:29:28



You can update your version with the following command.




# yum update httpd
# apt-get update apache2



It is also recommended to keep your Kernel and OS updated to the latest stable releases if you are not running any specific application which works only on specific OS or Kernel.



4. Disable Unnecessary Modules


It’s always good to minor the chances of being a victim of any web attack. So it’s recommended to disable all those modules that are not in use currently. You can list all the compiled modules of web server, using following command.




# grep LoadModule /etc/httpd/conf/httpd.conf

# have to place corresponding `LoadModule' lines at this location so the
# LoadModule foo_module modules/mod_foo.so
LoadModule auth_basic_module modules/mod_auth_basic.so
LoadModule auth_digest_module modules/mod_auth_digest.so
LoadModule authn_file_module modules/mod_authn_file.so
LoadModule authn_alias_module modules/mod_authn_alias.so
LoadModule authn_anon_module modules/mod_authn_anon.so
LoadModule authn_dbm_module modules/mod_authn_dbm.so
LoadModule authn_default_module modules/mod_authn_default.so
LoadModule authz_host_module modules/mod_authz_host.so
LoadModule authz_user_module modules/mod_authz_user.so
LoadModule authz_owner_module modules/mod_authz_owner.so
LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
LoadModule authz_dbm_module modules/mod_authz_dbm.so
LoadModule authz_default_module modules/mod_authz_default.so
LoadModule ldap_module modules/mod_ldap.so
LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
LoadModule include_module modules/mod_include.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule logio_module modules/mod_logio.so
LoadModule env_module modules/mod_env.so
LoadModule ext_filter_module modules/mod_ext_filter.so
....



Above is the list of modules that are enabled by default but often not needed: mod_imap, mod_include, mod_info, mod_userdir, mod_autoindex. To disable the particular module, you can insert a “#” at the beginning of that line and restart the service.



5. Run Apache as separate User and Group


With a default installation Apache runs its process with user nobody or daemon. For security reasons it is recommended to run Apache in its own non-privileged account. For example: http-web.



Create Apache User and Group



# groupadd http-web
# useradd -d /var/www/ -g http-web -s /bin/nologin http-web



Now you need to tell Apache to run with this new user and to do so, we need to make an entry in /etc/httpd/conf/httpd.conf and restart the service.



Open /etc/httpd/conf/httpd.conf with vim editor and search for keyword “User” and “Group” and there you will need to specify the username and groupname to use.




User http-web
Group http-web



6. Use Allow and Deny to Restrict access to Directories


We can restrict access to directories with “Allow” and “Deny” options in httpd.conf file. Here in this example, we’ll be securing root directory, for that by setting the following in the httpd.conf file.




<Directory />
Options None
Order deny,allow
Deny from all
</Directory>





  1. Options “None” – This option will not allow users to enable any optional features.




  2. Order deny, allow – This is the order in which the “Deny” and “Allow” directives will be processed. Here it will “deny” first and “allow” next.




  3. Deny from all – This will deny request from everybody to the root directory, nobody will be able to access root directory.




7. Use mod_security and mod_evasive Modules to Secure Apache


These two modules “mod_security” and “mod_evasive” are very popular modules of Apache in terms of security.



Mod_security


Where mod_security works as a firewall for our web applications and allows us to monitor traffic on a real time basis. It also helps us to protect our websites or web server from brute force attacks. You can simply install mod_security on your server with the help of your default package installers.



Install mod_security on Ubuntu/Debian



$ sudo apt-get install libapache2-mod-security
$ sudo a2enmod mod-security
$ sudo /etc/init.d/apache2 force-reload



Install mod_security on RHEL/CentOS/Fedora/



# yum install mod_security
# /etc/init.d/httpd restart



Mod_evasive


mod_evasive works very efficiently, it takes one request to process and processes it very well. It prevents DDOS attacks from doing as much damage. This feature of mod_evasive enables it to handle the HTTP brute force and Dos or DDos attack. This module detects attacks with three methods.




  1. If so many requests come to a same page in a few times per second.


  2. If any child process trying to make more than 50 concurrent requests.


  3. If any IP still trying to make new requests when its temporarily blacklisted.



mod_evasive can be installed directly from the source. Here, we have an Installation and setup guide of these modules which will help you to set up these Apache modules in your Linux box.



Protect Apache using Mod_Security and Mod_evasive



8. Disable Apache’s following of Symbolic Links


By default Apache follows symlinks, we can turn off this feature with FollowSymLinks with Options directive. And to do so we need to make the following entry in main configuration file.




Options -FollowSymLinks



And, if any particular user or website need FollowSymLinks enable, we can simply write a rule in “.htaccess” file from that website.




# Enable symbolic links
Options +FollowSymLinks



Note: To enable rewrite rules inside “.htaccess” file “AllowOverride All” should be present in the main configuration globally.



9. Turn off Server Side Includes and CGI Execution


We can turn off server side includes (mod_include) and CGI execution if not needed and to do so we need to modify main configuration file.




Options -Includes
Options -ExecCGI



We can do this for a particular directory too with Directory tag. Here In this example, we are turning off Includes and Cgi file executions for “/var/www/html/web1” directory.




<Directory "/var/www/html/web1">
Options -Includes -ExecCGI
</Directory>



Here are some other values with can be turned On or off with Options directive.





  1. Options All – To enable All options at once. This is the default value, If you don’t want specify any values explicitly in Apache conf file or .htaccess.




  2. Options IncludesNOEXEC – This option allows server side includes without the execute permission to a command or cgi files.




  3. Options MultiViews – Allows content negotiated multiviews with mod_negotiation module.




  4. Options SymLinksIfOwnerMatch – It’s similar to FollowSymLinks. But, this will follow only when the owner is the same between the link and the original directory to which it is linked.




10. Limit Request Size


By default Apache has no limit on the total size of the HTTP request i.e. unlimited and when you allow large requests on a web server its possible that you could be a victim of Denial of service attacks. We can Limit the requests size of an Apache directive “LimitRequestBody” with the directory tag.



You can set the value in bytes from 0 (unlimited) to 2147483647 (2GB) that are allowed in a request body. You can set this limit according to your site needs, Suppose you have a site where you allows uploads and you want to limit the upload size for a particular directory.



Here in this example, user_uploads is a directory which contains files uploaded by users. We are putting a limit of 500K for this.




<Directory "/var/www/myweb1/user_uploads">
LimitRequestBody 512000
</Directory>



11. Protect DDOS attacks and Hardening


Well, it’s true that you cannot completely protect your web site from DDos attacks. Here are some directives which can help you to have a control on it.





  1. TimeOut : This directive allows you to set the amount of time the server will wait for certain events to complete before it fails. Its default value is 300 secs. It’s good to keep this value low on those sites which are subject to DDOS attacks. This value totally depends on kind of request you are getting on your website. Note: It could pose problems with come CGI scripts.




  2. MaxClients : This directive allows you to set the limit on connections that will be served simultaneously. Every new connection will be queued up after this limit. It is available with Prefork and Worker both MPM. The default value of it is 256.




  3. KeepAliveTimeout : Its the amount of time the server will wait for a subsequent request before closing the connection. Default value is 5 secs.




  4. LimitRequestFields : It helps us to set a limit on the number of HTTP request’s header fields that will be accepted from the clients. Its default value is 100. It is recommended to lower this value if DDos attacks are occurring as a result of so many http request headers.




  5. LimitRequestFieldSize : It helps us to set a size limit on the HTTP Request header.




12. Enable Apache Logging


Apache allows you to logging independently of your OS logging. It is wise to enable Apache logging, because it provides more information, such as the commands entered by users that have interacted with your Web server.



To do so you need to include the mod_log_config module. There are three main logging-related directives available with Apache.





  1. TransferLog: Creating a log file.




  2. LogFormat : Specifying a custom format.




  3. CustomLog : Creating and formatting a log file.




You can also use them for a particular website it you are doing Virtual hosting and for that you need to specify it in the virtual host section. For example, here is the my website virtual host configuration with logging enabled.




<VirtualHost *:80>
DocumentRoot /var/www/html/example.com/
ServerName www.example.com
DirectoryIndex index.htm index.html index.php
ServerAlias example.com
ErrorDocument 404 /story.php
ErrorLog /var/log/httpd/example.com_error_log
CustomLog /var/log/httpd/example.com_access_log combined
</VirtualHost>



13. Securing Apache with SSL Certificates


Last, but not the least SSL certificates, you can secure your all the communication in an encrypted manner over the Internet with SSL certificate. Suppose you have a website in which people login by proving their Login credentials or you have an E- Commerce website where people provides their bank details or Debit/Credit card details to purchase products, by default your web server send these details in plain – text format but when you use SSL certificates to your websites, Apache sends all this information in encrypted text.



You can purchase SSl certificates from So many different SSL providers like namecheap.com. If you are running a very small web business and do not willing to purchase an SSL certificate you can still assign a Self signed certificate to your website. Apache uses the mod_ssl module to support SSL certificate.




# openssl genrsa -des3 -out example.com.key 1024
# openssl req -new -key example.com.key -out exmaple.csr
# openssl x509 -req -days 365 -in example.com.com.csr -signkey example.com.com.key -out example.com.com.crt



Once your certificate has been created and signed. Now you need to add this in Apache configuration. Open main configuration file with vim editor and add the following lines and restart the service.




<VirtualHost 172.16.25.125:443>
SSLEngine on
SSLCertificateFile /etc/pki/tls/certs/example.com.crt
SSLCertificateKeyFile /etc/pki/tls/certs/example.com.key
SSLCertificateChainFile /etc/pki/tls/certs/sf_bundle.crt
ServerAdmin ravi.saive@example.com
ServerName example.com
DocumentRoot /var/www/html/example/
ErrorLog /var/log/httpd/example.com-error_log
CustomLog /var/log/httpd/example.com-access_log common
</VirtualHost>



Open up your browser, type https://example.com, and you will be able to see the new self-signed certificate.



These are few security tips that you can use to secure your Apache web server installation. For more useful security tips and ideas, see the official online documentation of Apache HTTP Server.





Link gốc: 13 Apache Web Server Security and Hardening Tips

Tuesday, October 8, 2013

Bạn phải làm những gì khi thiết kế lại website?

Bạn đã thiết kế website rất nhiều lần nhưng hiệu quả mang lại không được như mong muốn và giờ bạn muốn thiết kế lại website sao cho hiệu quả nhất và bạn cân nhắc rất cẩn thận những gì cần có khi thiết kế lại website

1. Hãy lựa chọn một công ty thiết kế web có danh tiếng

Để giành được kết quả tốt nhất, bạn hãy chọn một công ty thiết kế web có danh tiếng. Điều đó quan trọng không chỉ trong khía cạnh thiết kế mà còn đảm bảo cho cả sự phù hợp về nhu cầu cũng như sự liên quan đến những gì mà bạn đang tìm kiếm. Vì nó quyết định sự thành công của bạn.

2. Hãy phát triển một website đặc thù

Một trong những quan tâm chính nhất là giao diện tổng thể của website. Ngoài những gì mà bạn đã lựa chọn để triển khai, tính đặc thù của web cũng rất quan trọng vì nó xác đinh các yếu tố khác như: Kiểu chữ và đồ họa trên website.

3. Hãy quan tâm đến nội dung website

Nội dung là khía cạnh then chốt. Hãy đảm bảo cho nguồn thông tin trên web hợp pháp, tin cậy, dễ đọc và dễ hiểu.

4. Hãy tạo một website dồi dào từ khóa

Tối ưu hóa công cụ tìm kiếm (Search Engine Optimization viết tắt là SEO) tốt cũng rất quan trọng không chỉ trong thiết kế mà trong cả triển khai. Hãy nghiên cứu về các từ khóa của bạn sao cho hiệu quả.

5. Hãy so sánh các trang web với những công cụ tìm kiếm

Như đã đề cập, tối ưu hóa công cụ tìm kiếm tốt (SEO) rất quan trọng. Nếu bạn không biết dùng những từ khóa nào thì hãy dùng những công cụ tìm kiếm từ khóa như: Wordtracker. Khi bạn có những từ khóa này, hãy so sánh với các website chứa những từ khóa có vị trí hiệu quả trong tìm kiếm.

6. Hãy giữ cho website luôn được cập nhật

Hãy giữ nội dung trên trang web của bạn luôn được cập nhật. Để làm điều này, cần một chiến lược theo dõi nội dung trên các website khác. Điều này sẽ giúp trang web của bạn luôn mới mẻ. Điều quan trọng hơn là theo dõi được các xu hướng để biết có những điều gì mới đang diễn ra.

7. Hãy để điều hướng truy cập thật dễ dàng

Điều hướng truy cập đơn giản và rõ ràng là một trong những then chốt. Hãy đảm bảo điều hướng truy cập thật dễ dàng. Nếu quá phức tạp. Nó sẽ phủ nhận lợi ích của bạn vì các khách hàng tiềm năng không thể ghé thăm một trang web mà họ phải mất nhiều thời gian mới tìm thấy được thông tin.

8. Hãy đảm bảo cho website nhìn “ bắt mắt ”

Một trong những điều quan trọng nhất mà bất cứ website nào cũng cần là giành được sự thu hút. Bạn có thể thiết kế lại trang web của mình khi chưa có được điều này. Hãy cân nhắc kỹ những thông điệp của bạn rồi tiếp tục tìm tòi, sáng tạo một bố cục phù hợp sao cho thu hút người xem.

9. Hãy mang lại sự tin cậy

Hãy mang lại sự tin cậy bằng cách như: cung cấp thông tin về công ty của bạn nhiều nhất có thể; bổ sung một diễn đàn thảo luận ở nơi mà tất cả các khách hàng có thể nhận xét về các dịch vụ của bạn và chia sẻ những kinh nghiệm mà họ đã có từ các dịch vụ này.

CÔNG TY CỔ PHẦN GIẢI PHÁP CÔNG NGHỆ VÀ TRUYỀN THÔNG THÁI HÒA
ĐC:
Tầng 3 , Tòa nhà E , 38 Nguyễn Huy Tự , Hai Bà Trưng , Hà Nội
Tel:0462702723
Hotline: 0932340499
Email:sale@thaihoagroup.vn
Website: http://giaiphapphanmem.vn/

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Powerade Coupons