is there a code to block a sertain directory?????? |
![]() ![]() |
is there a code to block a sertain directory?????? |
May 18 2005, 11:33 AM
Post
#1
|
|
|
Senior Member ![]() ![]() ![]() ![]() Group: Member Posts: 109 Joined: May 2005 Member No: 137,888 |
is there a code to block a directory in ur website so that no one can go to that directory?for example the directory is www.example.com/media and when u put a code to block that url so that no one can go to it would be like cannot find server?
|
|
|
|
| *mipadi* |
May 30 2005, 09:18 PM
Post
#2
|
|
Guest |
There's an HTML code per se. Directory blocking can be done in several ways. If you have access to the server your site runs on, you can set the directory to only allow certain users that you specify. Users will have to log on with a username and password. You can also protect a directory with scripting, such as PHP or ASP/VBScript, although this is a bit cumbersome and, if you have many users, will pretty much require a database.
|
|
|
|
May 30 2005, 10:19 PM
Post
#3
|
|
![]() You'll find me in your dreams. ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 8,536 Joined: Mar 2005 Member No: 114,010 |
.... Use .htaccess
[ http://www.akamarketing.com/custom-errors.html ] [ http://www-uxsup.csx.cam.ac.uk/~jw35/cours...html/x3144.html ] <- More complicated.... |
|
|
|
![]() ![]() |