Forum Moderators: phranque

Message Too Old, No Replies

prevent browser access?

         

xwishmasterx

2:34 pm on Jan 9, 2006 (gmt 0)

10+ Year Member



How can I prevent browser access to certain directories/files, while linking still functioning?

can it be done in .htaccess?

coopster

5:28 pm on Jan 9, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld, xwishmasterx.

Can you explain what you mean by "linking still functioning"?

xwishmasterx

10:34 pm on Jan 9, 2006 (gmt 0)

10+ Year Member



it must be possible to use the link buttons on other sites to get to the site. without passwords!

coopster

12:50 am on Jan 10, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



So you want to stop browsers from accessing a directory, but in the same sentence you want to allow browsers access to the same directory. Forgive me, but you are going to have to offer more detail, I'm just not getting it :)

xwishmasterx

2:10 am on Jan 10, 2006 (gmt 0)

10+ Year Member



I see your point. think I use the term "browser access" wrong.

Is it possible to prevent people from getting access to a webpage by typing the adress in the browser, so it can only be viewed if you follow links to that webpage?

coopster

2:28 pm on Jan 10, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Now I understand!


Is it possible to prevent people from getting access to a webpage by typing the adress in the browser, so it can only be viewed if you follow links to that webpage?

Well, not really. You see, following a link and keying the link into the address bar are really the same thing, you are just making it easier for the end user to click as opposed to type.

What is it you truly want to accomplish though? What is the difference if the user clicks or keys the url?

xwishmasterx

10:44 pm on Jan 10, 2006 (gmt 0)

10+ Year Member



I have a site that should only be available after a payment. After payment youre automatically redirected back to thi site to complete a form. This way I don't have to have a member base, passwords..etc. but if the adress of the site is viewable it will be far to easy to go aroud the payment, so I have to check each payment every time..

Is it possible to "hide" the site-adress the browser is showing..that would work to!