AnsweredAssumed Answered

login in webscript without user and password in file

Question asked by cperez on Aug 5, 2014
Latest reply on Aug 6, 2014 by kaynezhang
Hi there.

I have a webscript, which removes a specific file. To remove it I have to use the admin user because other users can not.

I have the admin username and password in the file. ".js" and in the ".html.get.ftl" I make the call to service for the ticket login session and with it delete the file.

I wanted to know if there is any way to make the login without user and password in the file because it is not safe. Doing so transparently to the end user which uses a url.

Thanks a lot in advance.

Outcomes