Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

don't let user open webpage???

Status
Not open for further replies.

Gert

Programmer
Apr 9, 2000
240
DO
Hi all,

Could be someway to block a webpage from VFP or let some user open it with a password???

thanks in advance!!!
 
The best answer to the question is web server security: Depending on your web server, you can specify priviledges for each directory, so just set the user rights accordingly.

However, since this was posted in a VFP forum, I have a feeling that the question wasn't complete....

What is enabling them to open any web page? Do you have an IE browser control in VFP and want to filter what they can access? You could provide your own "Location" text box, and just filter what you accept, but that doesn't stop them from browsing to the 'bad' page. You could have a timer, and every 1/10th second check the current location... if it's not allowed, then cancel the load.

 
Gert,

Are you talking about preventing the user from opening a page in the Web Browser control? If so, I can give you some help with that, but I won't spend time doing that if it is not what you want.

If you are talking about preventing the user from opening a page within a web browser such as IE, then that is not a VFP issue (as Wgcs correctly pointed out).

Mike


Mike Lewis
Edinburgh, Scotland
 
that what i'm talking about preventing the user from opening a page within a web browser such as IE, but i wish to prevent from VFP, because I have build an internet time controler program for an Internet cafe and i wish to control the page view for the user thanks

 
Gert,

I doubt if that's possible. You might find a way for VFP to control an IE session, but you will never be able to prevent the user from opening another instance of IE outwith that control. Also, what is to prevent them going to the forbidden page in Netscape or Opera?

Mike


Mike Lewis
Edinburgh, Scotland
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top