Re: time limited passwords



Rugby, the method I suggested is very crude & easy to hack. But if you
wanted to try it, here's what you'd do.

1. Write a standard module containing the following function:

public function Startup()
msgbox "STARTED!"
end function

2. Use Tools : Startup to define that function as the startup function
of the database. (I've forgotten exactly what the field is caled on the
screen.)

3. Close then re-open the database. Make sure the message appears. If
it doesn't you've done something wrong.

4. Now replace the MsgBox statement with the following code:

if XXXXX(dbengine.systemdb) - date() > 30 then
msgbox "sorry, you need a new security file"
application.quit
endf

5. Replace XXXXX (above) with the name of the function that returns the
creation date/time of the specified file. I can't remember what that
is, and I don't have Access here to check.

Now the message should appear when you start the database & the
workgroup information file is more than 30 days old.

As I said, that method is crude, and easy to hack - but maybe it would
do for your purpose.

If you still can't work it out from here, I recommend that you get a
book on Access programming, so you can follow some structured examples.
My concern is, that at present, you can not really make an informed
decision between the "el cheapo" method suggested above, and the other
ways of doing this.

Good luck!
TC

.



Relevant Pages

  • Re: time limited passwords
    ... by the way is there a particular book you would recommend? ... the method I suggested is very crude & easy to hack. ... Close then re-open the database. ...
    (microsoft.public.access.security)
  • Re: Old Database Needs Cracking Open
    ... FileMaker and I figured I could hack it and do what I needed to do. ... 500 CDs entered because they were looked up automatically. ... database used CDDB for information but I thought it didn't make enough ... I have tried other cataloging software but most are for cataloging ...
    (comp.databases.filemaker)
  • Re: Export Document Library to files
    ... You could hack into the database I guess. ... or files that I can open in Windows. ... was a PDF in the document library, ...
    (microsoft.public.sharepoint.portalserver.development)
  • Re: granting a domain user local "power user" rights...
    ... Identify the keys that the database needs... ... HACK IT.. ... run as user mode. ... Brad Pears wrote: ...
    (microsoft.public.win2000.general)
  • Re: granting a domain user local "power user" rights...
    ... Identify the keys that the database needs... ... HACK IT.. ... run as user mode. ... Brad Pears wrote: ...
    (microsoft.public.windows.terminal_services)