hi
is possible write a word (or for example "cpu serial") in a text file on the internet with nsis?
Write text to a file on the Internet
6 posts
You have provided us zero information about which protocol you want to use and what your server architecture looks like!
The INetC plugin supports the put HTTP method...
The INetC plugin supports the put HTTP method...
im sorry , yes i must provided more information about this
think i have a text file in my server with address "http://google.com/mytextfile.txt"
i have in this file this words:
and another question:
i how can search in this file on the internet without download this file and serach in this text file and if find in text User1000a137*Pass and show message box your license is valid ?
think i have a text file in my server with address "http://google.com/mytextfile.txt"
i have in this file this words:
User1000a128*Pass
User1000a129*Pass
User1000a130*Pass
User1000a131*Pass
User1000a132*Pass
User1000a133*Pass
User1000a134*Pass
User1000a135*Pass
User1000a136*Pass
User1000a137*Pass
User1000a138*Pass
User1000a139*Pass now i how can write in this file a value or change "replace" User1000a128*Pass to User1000a128*8090100 ?and another question:
i how can search in this file on the internet without download this file and serach in this text file and if find in text User1000a137*Pass and show message box your license is valid ?
Storing the users password in plain text is not a good idea. You should salt and hash the password on the server before saving it in a database.
In a DRM/license scenario you cannot trust the client. If you submit the request over http then someone can just spoof the response. If you use https but stick to a plugin that uses WinInet then AFAIK Fiddler can be used as a middleman.
Unless you have a lot of skill and resources you are not going to stop a knowledgeable adversary so lets focus on the minimal implementation you should aim for.
If you are using https then you can probably just send the password in plain text but if you are just using http then you should hash the password before sending (This means you cannot use a individual per-user salt on the server, the salt must be shared and known by the client but that is not really a problem).
I'm not sure why you keep talking about files, you need to write some code on the server that handles the requests submitted by the client.
In a DRM/license scenario you cannot trust the client. If you submit the request over http then someone can just spoof the response. If you use https but stick to a plugin that uses WinInet then AFAIK Fiddler can be used as a middleman.
Unless you have a lot of skill and resources you are not going to stop a knowledgeable adversary so lets focus on the minimal implementation you should aim for.
If you are using https then you can probably just send the password in plain text but if you are just using http then you should hash the password before sending (This means you cannot use a individual per-user salt on the server, the salt must be shared and known by the client but that is not really a problem).
I'm not sure why you keep talking about files, you need to write some code on the server that handles the requests submitted by the client.
thanks master
no,really i write a program and i want set user and password for that program.
This means that each user have a single username and must that username just work in one computer...
i want when user use from username i give cpu serial and set for password in server.
now when that user give serial to friend,program check the cpu serial with serial server and if that together not equal that program show "this user just is for single user,this serial is recorded whit another pc,for help and advice please call to support for fix problem..".
just i want give cpu serial and send and save to server just for Single-user applications.
and i do not want my high security because customer so i asked Such.
thanks
no,really i write a program and i want set user and password for that program.
This means that each user have a single username and must that username just work in one computer...
i want when user use from username i give cpu serial and set for password in server.
now when that user give serial to friend,program check the cpu serial with serial server and if that together not equal that program show "this user just is for single user,this serial is recorded whit another pc,for help and advice please call to support for fix problem..".
just i want give cpu serial and send and save to server just for Single-user applications.
and i do not want my high security because customer so i asked Such.
thanks
No matter what you do, downloading the entire list and editing in the client is crazy. The client should submit a HTTP POST request when adding information and a HTTP GET request when asking to validate.
This really has nothing to do with NSIS and you should probably ask these questions somewhere else. You need to figure out which language you want to use on the server (ASP, PHP etc) and then write the server side interface...
This really has nothing to do with NSIS and you should probably ask these questions somewhere else. You need to figure out which language you want to use on the server (ASP, PHP etc) and then write the server side interface...