Home : Products : Links 2.0 : Discussions :

Products: Links 2.0: Discussions: Re: [Paul] is it possible to protect admin.cgi being viewed from someone?: Edit Log

Here is the list of edits for this post
Re: [Paul] is it possible to protect admin.cgi being viewed from someone?
A simpler way might be to rename the admin directory, so it is not using the 'standard' Links name. Rename the directory (NOT the files!) to whatever you want, and edit links.cfg to reflect the changes.

From this:
Code:
# PATH and URL of Admin CGI directory. No Trailing Slash.
$db_script_path = "/path/to/cgi-bin/links/admin";
$db_dir_url = "http://mysite.com/cgi-bin/links/admin";

To this: (example)
Code:
# PATH and URL of Admin CGI directory. No Trailing Slash.
$db_script_path = "/path/to/cgi-bin/rumplestiltskin/admin";
$db_dir_url = "http://mysite.com/cgi-bin/rumplestiltskin/admin";

Change the PATH/URL to the admin directory ONLY, and keep the public cgi (add, search, etc) where it is (mysite.com/cgi-bin/links) so that you are not revealing where you put your admin.


Leonard
aka PerlFlunkie

Last edited by:

PerlFlunkie: Dec 19, 2002, 1:26 PM

Edit Log: