Trying to create a password

R

Robby Klotz

I have a button on my front form that when clicked will print out a report.
Is there anyway to password protect this? Click the button, then you have to
enter the password before it will continue?
 
R

Rick B

This is asked all the time. Do a search.

Keep in mind though, that your user can easily go to the database window and
just run the report form there. They could also look at the code behind
your form and read your password. Or, they could open the actual table and
read the data there. In most cases, they could create their own report to
get the results, or do so in a query.

In short, home-grown security and quick passwords built in code are rarely
very secure. The proper way to secure your database is to implement
user-level security and force all users to log in with a userid and
password. Then, you can define to what objects they have access, and what
kind of access they have.

Read the previous posts on the topic (often called "password protect a
form") for more information, or post back here.

Keep in mind, User-level security is very detailed to implement. It is not
difficult, but you must follow all the steps in order.
 
D

David

Rick,
Can I use code to pull the user's computer login name/id instead of having
ULS ask for the ID and password?
 
R

Rick B

Not that I know of.

--
Rick B



David said:
Rick,
Can I use code to pull the user's computer login name/id instead of having
ULS ask for the ID and password?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top