Server side coding,ASP,ActiveVFP,CSP,Server-Side ANSI C, ColdFusion, CGI, Erlang with Linux, Yaws, Mnesia, Erlang, Grails (framework) Java, Perl, PHP, Python, e.g. Django (web framework), Real Studio Web Edition, Ruby, e.g. Ruby on Rails, Smalltalk e.g. Seaside, AIDA/Web, SSJS Server-Side JavaScript, e.g. Aptana Jaxer, Mozilla Rhino, WebDNA,Websphere ,.NET and .NET MVC Frameworks.
Wednesday, April 10, 2013
Blocking your application root files access from outer world and accessible for particular user.
For the security reason it is important to secure your root files from outer world as a webmaster. Just follow below steps..
Open .htaccess file and edit as below
AuthType Basic
AuthName “Password Required”
AuthUserFile C:\xampp\htdocs\ Application_folder_name\.htpasswd
Require user webpro
Open cmd prompt create .htpasswd file
C:\Users\moshiur.rahman\xampp\apache\bin>htpasswd -c c:\Users\moshiur.rahman\xam
pp\htdocs\Billing\.htpasswd webpro
Automatically using MD5 format.
New password: ******
Re-type new password: ******
Adding password for user webpro
Finally you can see a .htpasswd file created with encrypted password for webpro
webpro:$apr1$aRU90GIL$u8FEMMi1NH/q.JpDUuuhN.
Labels:
web admin
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment