Jump to content

Need strong encryption method


Paplo

Recommended Posts

Posted

Don't let the file be downloaded to the client's computer, load it into memory only.

"[...] If you don’t love it, if you’re not having fun doing it, you don’t really love it, you’re going to give up." - Steve Jobs, 2007

Posted
Don't let the file be downloaded to the client's computer, load it into memory only.

i use filedelete but not worked : /

Posted

I didn't say anything about fileDelete, I'm talking about reading script files content and loading it into memory with loadstring.

"[...] If you don’t love it, if you’re not having fun doing it, you don’t really love it, you’re going to give up." - Steve Jobs, 2007

  • Moderators
Posted

You have a sample of loadstring?

    local file = fileOpen( ":resource/file.ext" ); 
    if ( file ) then 
        loadstring( fileRead( file, fileGetSize( file ) ) )(); 
    end 
    fileClose( file ); 

and will it matter if you are running a windows or linux server?

Do you want to improve your Lua programming skills and make less mistakes?   Start with Lua Language Server!   🙀

 

  Useful functions  3x 

  Tutorials  4x 

 

Posted

The code in that topic will have to be changed since you need to get the file's content from server-side, otherwise you need to download the file first.

@IIYAMA, it won't matter.

"[...] If you don’t love it, if you’re not having fun doing it, you don’t really love it, you’re going to give up." - Steve Jobs, 2007

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...