Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 14 of 14
  1. #1
    Join Date
    Oct 2005
    Posts
    21

    could we lock the CD

    hello all
    please i have Q
    How can I lock the CD after I build it as data CD because I dont want people to access into the CD.
    Is that clear or i should attache some pic
    Thanks

  2. #2
    Join Date
    Feb 2005
    Location
    Mn
    Posts
    770
    Can't. sorry.

  3. #3
    Join Date
    Oct 2002
    Location
    RealFake, RF
    Posts
    403
    Technically, Bobbie is correct, but there are always work-arounds. What do you want the "cleared user" to see and what do you want the "uncleared user" not to see?

    We might be able to come up with something for ya...


    Protocol
    "White-colla-AMS-gangsta."

  4. #4
    Join Date
    Oct 2005
    Posts
    21
    Protocol
    I want to lock "CD_Root" file or Protect it by buting password from evreyone
    i know there is a program that can make this task but i cant find it

  5. #5
    Join Date
    Mar 2007
    Location
    INDIA
    Posts
    8

    Lock Your Cd

    WHITE SKY you can definitely lock your cd. Just paste the following code on your first page: Preload of your program.


    -- the 'correct' password
    real_password = "password";
    -- prompt the user to enter a password
    user_password = Dialog.PasswordInput("Password", "Please enter the password: ", MB_ICONQUESTION);
    -- compare the user's password to the 'correct' password.
    -- If the user supplies the wrong password, exit the program.
    if real_password ~= user_password then
    Dialog.Message("Incorrect Password", "Incorrect password.", MB_OK, MB_ICONEXCLAMATION);
    Application.Exit(0);
    end

    publish the program or burn it into a cd and bingo you're done. whenever the program is opened it will ask for the password. If correct password is entered the program will run, else it will exit.

    give thanx to RizlaUK and NALS as i have learned from them

  6. #6
    Join Date
    Oct 2002
    Location
    RealFake, RF
    Posts
    403
    Yup yup...

    There are a lot of fun ways to lock the program. In fact, you can add not only a password, but a number of attempts at that password or conditions such as the date on which the CD can be used, if they have a particcular program or file on their computer, or an internet check to see if you currently want the CD to be used (something you set on your side wherein users can only access the contents if you set a condition true on a server) or even a combitnation of such things.

    Lots of cool ways to lock the usage of the CD...

    =)

    Have fun!
    "White-colla-AMS-gangsta."

  7. #7
    Join Date
    May 2006
    Posts
    5,380
    im afraid that code will only work if you make a web exe, and if your target media is a cd rom id guess its rather large in size, this would make it have a long loading/unpacking time


    if you want to secure your files on a cd rom the only way i see is to encrypt the whole project, file by file, and have ams decrypt the files as it needs them

    i saw some software "SoftwareKey Protection Plus" but it cost just as much as ams dose, i think any such software is a waist of money as ams can do the job

    if the files on your cd are encrypted then thay are useless to anyone browsing the cd, only the ams executable will have the password to decrypt them
    Open your eyes to Narcissism, Don't let her destroy your life!!

  8. #8
    Join Date
    Feb 2007
    Location
    Australia
    Posts
    201

    Smile

    Thats interesting RizlaUK, thats what I wanted to do too, but ..
    Is it posible to give us little tip how to do it? I mean just a little code.

  9. #9
    Join Date
    May 2006
    Posts
    5,380
    ok nals, i made this little example for you,

    In the docs directory there are 2 encrypted files, click the info button and the file will be decrypted and the contents will be displayed in the paragraph object below the buttons

    click the install button and it will decrypt a install package and run it

    all the code is in the buttons

    for this example i used my encryption tool to encrypt the files, just make sure you use the same password to decrypt as you did encrypt the blowfish files
    Last edited by RizlaUK; 02-01-2009 at 11:35 AM.
    Open your eyes to Narcissism, Don't let her destroy your life!!

  10. #10
    Join Date
    Feb 2007
    Location
    Australia
    Posts
    201
    Thanks for your sample, RizlaUK , I know I m asking too much...

    Well this Is Decripting an Exe file and try to install rite? thats the file: file2.txt

    and there is another file : file1.txt ? what is it for?

    How do you Encript a file? Is that the same way? Crypto.BlowfishEncryptString ??


  11. #11
    Join Date
    May 2006
    Posts
    5,380
    file1.txt contains the text that is dispalyed in the paragraph object when you click the info button

    file2.txt is the install package

    file1.txt, is encrypted with blowfish

    file2.txt is encoded with base64 first then encrypted with blowfish

    and yes, to encrypt a file you use Crypto.BlowfishEncryptString or Crypto.BlowfishEncryptFile

    basicly my tool is a GUI for the ams crypto functions, for use when useing encrypted files in a project
    Open your eyes to Narcissism, Don't let her destroy your life!!

  12. #12
    Join Date
    Feb 2007
    Location
    Australia
    Posts
    201
    Great !!!

    Thanks rizlaUK ,

  13. #13
    Join Date
    Oct 2005
    Posts
    21
    gurudict
    thank you
    but I dont want to lock the "exe" I want to lock the all file
    Attached Images
    Last edited by white sky; 03-29-2007 at 09:22 PM.

  14. #14
    Join Date
    Aug 2003
    Location
    Maine, USA
    Posts
    1,695
    Quote Originally Posted by white sky View Post
    gurudict
    thank you
    but I dont want to lock the "exe" I want to lock the all file
    Simply cannot be done.

Similar Threads

  1. Sending Key Commands
    By eleslie in forum AutoPlay Media Studio 5.0
    Replies: 10
    Last Post: 08-15-2006, 02:41 PM
  2. Another Quiz Question!!
    By stickck in forum AutoPlay Media Studio 5.0
    Replies: 31
    Last Post: 10-12-2005, 10:40 PM
  3. Locking Objects
    By Desmond in forum AutoPlay Media Studio 5.0 Examples
    Replies: 0
    Last Post: 09-26-2003, 02:53 PM
  4. Can you lock the files on your CD?
    By Demo1224 in forum AutoPlay Media Studio 4.0
    Replies: 1
    Last Post: 08-22-2003, 04:19 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts