This may be a dumb question but how would I add a "password change" option to the launcher? I know it can be done with PHP but I am worried about injections and other issues. Thanks.
Printable View
This may be a dumb question but how would I add a "password change" option to the launcher? I know it can be done with PHP but I am worried about injections and other issues. Thanks.
Since the API was made using ASP .NET, you could use it to call a stored procedure. There's already a store procedure called WZ_ACCOUNT_ChangePassword, just be careful because, for some reason, it stores the new password as plain text in a reset passwords table.
The stored procedures used in the API are parametrized, so they should be safer against SQL injections. I can't guarantee that they're 100% safe though.
Cool. Thank you for the information. <3 I will look into this.