Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Making Suitelet available without login
I am experimenting with the option to make a Suitelet available without login.
I would like to limit the use of this Suitelet (without using NetSuite logins), and I am reviewing options for this.
I've found the suitescript that can be used to request a parameter from the URL and check that:
var authParam = context.request.parameters['auth']
if (authParam == 'Abc213') {
context.response.write('OK<br />');
context.response.write(authParam);
} else {
context.response.write('FAIL<br />');
context.response.write(authParam);
}
This provides some protection, but if the URL is shared/copied, then this URL will work anywhere.
0