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.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
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