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 Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

restricting access to search results page...

Status
Not open for further replies.

aamaker

Programmer
Joined
Jan 20, 2002
Messages
222
Location
US
I have a search app that I've built for a site, another site has a form on their site and passess the form variable and they're able to generate search results without having the user use my search page.... I want to BLOCK search results that done show a referrer as being within my own domain...

how in the world is something like that constructed? Can someone show me an example of how it might look?

- Thanks
 
did you try to password protect your database? where in only your connection string does the name and password reside.
 
Im using access 2000 database, and dsn-less connection strings as per my host (I dont think dsn is available for this particular clients' site).

How does the connection string look (dsn-less) with username/password??? I think I may have posted a question to that effect in the past, but couldnt figure it out.
 
edit your dsn-less with something like this

=c:\somepath\dbname.mdb;User Id=admin;Password=pass;

naturally you'll have to put the password on access
 
hmmmmm ...

now its generating a 500 error...

Error Type:
Microsoft JET Database Engine (0x80040E4D)
Cannot start your application. The workgroup information file is missing or opened exclusively by another user.

 
post your connection script
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top