Newbies john kisch Posted January 26, 2002 Newbies Posted January 26, 2002 MAC user of FM 5 I'm looking for a plugin or other method to do 2 things. 1) prevent a user of a file to 'save a copy as' when they have access to the entire file. 2) have file quit working entirely after 365 days of use by specific user. I'm clueless to a quick and easy fix. Any help? Thanks in advance
Steven H. Blackwell Posted January 26, 2002 Posted January 26, 2002 quote: Originally posted by John Kisch: MAC user of FM 5 I'm looking for a plugin or other method to do 2 things. 1) prevent a user of a file to 'save a copy as' when they have access to the entire file. 2) have file quit working entirely after 365 days of use by specific user. I'm clueless to a quick and easy fix. Any help? Thanks in advance If users "have access to the entire file", meaning they are the host and have the master password, then you can't do either of these. If you are a guest, then you can not save a copy of the file. What are you actually trying to achieve here? Perhaps a runtime or privilege altered file would be a better bet. Old Advance Man
danjacoby Posted January 28, 2002 Posted January 28, 2002 As regards your second request: Create a global first date field (gFirstDate) -- make it a date field Create a global current date field (gCurrentDate) -- make it a date field Create a global expired field (gExpired) -- make it a text field Create an Open script that does the following: Enters the current date in gFirstDate if it is empty Sets gCurrentDate to the current date If gCurrentDate - gFirstDate >= 365, sets gExpired to "Expired" If gExpired is not empty, closes the file -- perhaps you could show a message explaining why it closes first. Note: have the last step run twice -- first at the top of the script, then again at the end The nifty thing about this method is that, once the expiration date has arrived, it's impossible to circumvent it by, say, resetting the date on the computer. It's how I time bomb all my demos. It ain't perfect -- if someone has the foresight to reset the date on his/her computer before opening it (every time!), it won't work. But then, who's willing to go to all that trouble?
Recommended Posts
This topic is 8335 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now