开发者

Password protect an applet

开发者 https://www.devze.com 2022-12-30 19:01 出处:网络
Is there a way to pass开发者_高级运维word a protect an applet?Maybe I think too simple. But...

Is there a way to pass开发者_高级运维word a protect an applet?


Maybe I think too simple. But...

If you want multiple users/passwords just make a DB that has a table for your users and check them with a database connection ....make a "lock-state" for your applet until you have verified someones identity and after that unlock. That can be as simple as

*just draw this screen and/or use this functionality until username and password matches"

if they match i'll give you more to see...this could be a simple if else construction

if you have enough with one user (easy but not really the way to go) Just put some values hardcoded in your applet to check if username and password match.

0

精彩评论

暂无评论...
验证码 换一张
取 消