Central Games Forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Securing Files in a password protected or secured folder

4 posters

Go down

Securing Files in a password protected or secured folder Empty Securing Files in a password protected or secured folder

Post by raz789 Fri Feb 06, 2009 8:16 pm

I have sprites and other files that I'm considering to get externally as I want my game to be fast at loading, but is it possible to put them in a secured folder so nobody can access them or take them.

I dunno how to do this, I really need help.

Is this possible through game maker using code or a DLL.

Thanks in advance!

Very Happy
raz789
raz789
Newbie
Newbie

Male
Number of posts : 54
Location : In the Middle of Nowhere!
Job/hobbies : Game Making, Spriting(a bit), Other Stuff
Warning :
Securing Files in a password protected or secured folder Left_bar_bleue0 / 1000 / 100Securing Files in a password protected or secured folder Right_bar_bleue

Reputation :
Securing Files in a password protected or secured folder Left_bar_bleue0 / 1000 / 100Securing Files in a password protected or secured folder Right_bar_bleue

Registration date : 2008-09-01

http://www.raz789-tutorials.co.nr

Back to top Go down

Securing Files in a password protected or secured folder Empty Re: Securing Files in a password protected or secured folder

Post by im_not_emo Sat Feb 07, 2009 2:59 am

Well, actually. 39dll could be used for this. Or, you could make your own encryption algorithm.

What you need to do is to encrypt your files, and decrypt into a temporary folder which you can delete as soon as you have loaded your image.

39dll has a encryptor, but i've never used it myself. It also can make md5 buffers for the encryption password. I would recommend using 39dll only if you are already using it, otherwise use GML and make a encryption algorithm

im_not_emo
Global Mod
Global Mod

Male
Number of posts : 896
Age : 31
Location : Auckland
Job/hobbies : Well, computer?
Warning :
Securing Files in a password protected or secured folder Left_bar_bleue0 / 1000 / 100Securing Files in a password protected or secured folder Right_bar_bleue

Reputation :
Securing Files in a password protected or secured folder Left_bar_bleue999 / 100999 / 100Securing Files in a password protected or secured folder Right_bar_bleue

Registration date : 2008-07-18

http://www.inegames.f33webhost.com

Back to top Go down

Securing Files in a password protected or secured folder Empty Re: Securing Files in a password protected or secured folder

Post by raz789 Sat Feb 07, 2009 10:04 am

Wow I've never actually done that can you post example code as that would be the best way for me to learn from.

Just some start off code as I'm not good at encryption as I have never started using encryption.
raz789
raz789
Newbie
Newbie

Male
Number of posts : 54
Location : In the Middle of Nowhere!
Job/hobbies : Game Making, Spriting(a bit), Other Stuff
Warning :
Securing Files in a password protected or secured folder Left_bar_bleue0 / 1000 / 100Securing Files in a password protected or secured folder Right_bar_bleue

Reputation :
Securing Files in a password protected or secured folder Left_bar_bleue0 / 1000 / 100Securing Files in a password protected or secured folder Right_bar_bleue

Registration date : 2008-09-01

http://www.raz789-tutorials.co.nr

Back to top Go down

Securing Files in a password protected or secured folder Empty Re: Securing Files in a password protected or secured folder

Post by MelonYoshi Sun Feb 08, 2009 12:28 pm

I think you can put them in hidden folders and force GM to show all hidden folders, then you can load the external files. I haven't tried this yet, but it may be possible.
MelonYoshi
MelonYoshi
Newbie
Newbie

Male
Number of posts : 2
Age : 29
Location : Utah, America.
Job/hobbies : No jobs. | Game creation, spriting, drawing, writing, C++, science, programming, GM...
Warning :
Securing Files in a password protected or secured folder Left_bar_bleue0 / 1000 / 100Securing Files in a password protected or secured folder Right_bar_bleue

Reputation :
Securing Files in a password protected or secured folder Left_bar_bleue0 / 1000 / 100Securing Files in a password protected or secured folder Right_bar_bleue

Registration date : 2009-01-06

Back to top Go down

Securing Files in a password protected or secured folder Empty Re: Securing Files in a password protected or secured folder

Post by Gamerz Mon Feb 09, 2009 8:49 pm

I'm not sure if this is the best way, but I normally just alter the ASCII of each character in the file. BUT, since image files aren't read as text (just displayed as text from WordPad), this could corrupt the file.
Gamerz
Gamerz
Newbie
Newbie

Number of posts : 38
Warning :
Securing Files in a password protected or secured folder Left_bar_bleue0 / 1000 / 100Securing Files in a password protected or secured folder Right_bar_bleue

Reputation :
Securing Files in a password protected or secured folder Left_bar_bleue20 / 10020 / 100Securing Files in a password protected or secured folder Right_bar_bleue

Registration date : 2008-11-05

Back to top Go down

Securing Files in a password protected or secured folder Empty Re: Securing Files in a password protected or secured folder

Post by im_not_emo Tue Feb 10, 2009 4:01 am

It depends what format your files are using. If they are bitmap, its easy because they use ASCII, but im not sure for other formats

im_not_emo
Global Mod
Global Mod

Male
Number of posts : 896
Age : 31
Location : Auckland
Job/hobbies : Well, computer?
Warning :
Securing Files in a password protected or secured folder Left_bar_bleue0 / 1000 / 100Securing Files in a password protected or secured folder Right_bar_bleue

Reputation :
Securing Files in a password protected or secured folder Left_bar_bleue999 / 100999 / 100Securing Files in a password protected or secured folder Right_bar_bleue

Registration date : 2008-07-18

http://www.inegames.f33webhost.com

Back to top Go down

Securing Files in a password protected or secured folder Empty Re: Securing Files in a password protected or secured folder

Post by Gamerz Tue Feb 10, 2009 11:26 am

Alright, well, I've tried cutting and pasting the text that was shown in WordPad for a .JPEG image, and pasted it into notepad and saved it. I couldn't do anything with the file.

And thanks for the info on .BMP files, I understand why .BMP's are needed for height-maps. Razz
Gamerz
Gamerz
Newbie
Newbie

Number of posts : 38
Warning :
Securing Files in a password protected or secured folder Left_bar_bleue0 / 1000 / 100Securing Files in a password protected or secured folder Right_bar_bleue

Reputation :
Securing Files in a password protected or secured folder Left_bar_bleue20 / 10020 / 100Securing Files in a password protected or secured folder Right_bar_bleue

Registration date : 2008-11-05

Back to top Go down

Securing Files in a password protected or secured folder Empty Re: Securing Files in a password protected or secured folder

Post by raz789 Tue Feb 10, 2009 12:41 pm

Nah the .gif animations. I got a .dll but from what I've read everything is hackable.
raz789
raz789
Newbie
Newbie

Male
Number of posts : 54
Location : In the Middle of Nowhere!
Job/hobbies : Game Making, Spriting(a bit), Other Stuff
Warning :
Securing Files in a password protected or secured folder Left_bar_bleue0 / 1000 / 100Securing Files in a password protected or secured folder Right_bar_bleue

Reputation :
Securing Files in a password protected or secured folder Left_bar_bleue0 / 1000 / 100Securing Files in a password protected or secured folder Right_bar_bleue

Registration date : 2008-09-01

http://www.raz789-tutorials.co.nr

Back to top Go down

Securing Files in a password protected or secured folder Empty Re: Securing Files in a password protected or secured folder

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum