<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Username/password for a web application in G Web Development Software</title>
    <link>https://ni.lithium.com/t5/G-Web-Development-Software/Username-password-for-a-web-application/m-p/4184239#M93</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/194336"&gt;@ThamS&lt;/a&gt;&amp;nbsp;wrote:
&lt;P&gt;like the one in NI Week 2019 below: (unfortunately can't find the example source code)&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":frowning_face:"&gt;☹️&lt;/span&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Found the link &lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.studiobods.com/en/niweek2019-ts170/" target="_blank" rel="noopener"&gt;Learn how to create powerful web apps with LabVIEW NXG Web Module - NI WEEK 2019&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 09 Oct 2021 11:17:43 GMT</pubDate>
    <dc:creator>ThamS</dc:creator>
    <dc:date>2021-10-09T11:17:43Z</dc:date>
    <item>
      <title>Username/password for a web application</title>
      <link>https://ni.lithium.com/t5/G-Web-Development-Software/Username-password-for-a-web-application/m-p/4183928#M88</link>
      <description>&lt;P&gt;If I build a web application, is it possible to have the web server require a username/password to access it?&amp;nbsp; I don't need anything fancy; just something like htpasswd on Apache.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I see user/role options in the NI Web Server Configuration program, but it seems that those are for web server configuration, not for web apps.&amp;nbsp; (Am I wrong?)&amp;nbsp; Also, there doesn't seem to be a way to add users unless I want to tie them to Windows accounts or LDAP servers.&amp;nbsp; (In case it matters, I do not have a license for SystemLink.&amp;nbsp; Maybe it provides something more powerful.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the web server can't support usernames/passwords, then I guess I will have to implement my own login screen and a simple token mechanism to get to the main app.&amp;nbsp; It doesn't need to be super-secure, just keep casual interlopers away.&amp;nbsp; Is there a better approach?&lt;/P&gt;</description>
      <pubDate>Thu, 07 Oct 2021 16:59:52 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/G-Web-Development-Software/Username-password-for-a-web-application/m-p/4183928#M88</guid>
      <dc:creator>bhpowell</dc:creator>
      <dc:date>2021-10-07T16:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: Username/password for a web application</title>
      <link>https://ni.lithium.com/t5/G-Web-Development-Software/Username-password-for-a-web-application/m-p/4184065#M89</link>
      <description>&lt;P&gt;I'm not an expert with the authentication aspects of using webVI-based applications. I found this page which might be of some help (there's an NXG Web Module based example attached, you can open it in GWeb to convert it):&amp;nbsp;&lt;A href="https://forums.ni.com/t5/Example-Code/Hosting-a-WebVI-Securely-on-Your-Own-Network-Using-NI-Web-Server/ta-p/4091135?profile.language=en" target="_blank"&gt;Hosting a WebVI Securely on Your Own Network Using NI Web Server - NI Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just for reference, this page talks about securing webVI-based applications with SystemLink Cloud.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Oct 2021 09:25:38 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/G-Web-Development-Software/Username-password-for-a-web-application/m-p/4184065#M89</guid>
      <dc:creator>ANSujay</dc:creator>
      <dc:date>2021-10-08T09:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: Username/password for a web application</title>
      <link>https://ni.lithium.com/t5/G-Web-Development-Software/Username-password-for-a-web-application/m-p/4184099#M91</link>
      <description>&lt;P&gt;We have an example online at&amp;nbsp;&lt;A href="https://github.com/ni/systemlink-web-interface-template" target="_blank" rel="noopener"&gt;https://github.com/ni/systemlink-web-interface-template&lt;/A&gt;&amp;nbsp;that shows how to add permissions to the NI Web Server, which you can use to gate who has access to your web application.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunately, the NI Web Server and SystemLink don't allow adding custom users or managing their passwords since we don't ship an identity provider with it. You can use Windows accounts, LDAP, Active Directory, or OpenID Connect (&lt;A href="https://operations.systemlink.io/openid-connect/openid-connect/" target="_blank" rel="noopener"&gt;https://operations.systemlink.io/openid-connect/openid-connect/&lt;/A&gt;). With OpenID connect you can enable logging in using other identity providers including ones like Google.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Oct 2021 12:40:12 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/G-Web-Development-Software/Username-password-for-a-web-application/m-p/4184099#M91</guid>
      <dc:creator>JoshuaP</dc:creator>
      <dc:date>2021-10-08T12:40:12Z</dc:date>
    </item>
    <item>
      <title>Re: Username/password for a web application</title>
      <link>https://ni.lithium.com/t5/G-Web-Development-Software/Username-password-for-a-web-application/m-p/4184219#M92</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/299220"&gt;@bhpowell&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I guess I will have to implement my own login screen and a simple token mechanism to get to the main app.&amp;nbsp; It doesn't need to be super-secure, just keep casual interlopers away.&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Ah, sounds good. if have made such implementation, please your kind favor to share as example for us. it would be helpful.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm also looking how to implement cookies in webvi especially to create and maintain user credential log-in while browsing in. any example&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":thinking_face:"&gt;🤔&lt;/span&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;like the one in NI Week 2019 below: (unfortunately can't find the example source code)&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":frowning_face:"&gt;☹️&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://youtu.be/mYCwyktkaVY?t=441" target="_self"&gt;Learn how to create powerful web apps with LabVIEW NXG Web Module&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;div class="video-embed-center video-embed"&gt;&lt;iframe class="embedly-embed" src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FmYCwyktkaVY%3Fstart%3D441%26feature%3Doembed%26start%3D441&amp;amp;display_name=YouTube&amp;amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DmYCwyktkaVY&amp;amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FmYCwyktkaVY%2Fhqdefault.jpg&amp;amp;type=text%2Fhtml&amp;amp;schema=youtube" width="520" height="293" scrolling="no" title="Learn how to create powerful web apps with LabVIEW NXG Web Module" frameborder="0" allow="autoplay; fullscreen; encrypted-media; picture-in-picture;" allowfullscreen="true"&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 09 Oct 2021 04:07:12 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/G-Web-Development-Software/Username-password-for-a-web-application/m-p/4184219#M92</guid>
      <dc:creator>ThamS</dc:creator>
      <dc:date>2021-10-09T04:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: Username/password for a web application</title>
      <link>https://ni.lithium.com/t5/G-Web-Development-Software/Username-password-for-a-web-application/m-p/4184239#M93</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/194336"&gt;@ThamS&lt;/a&gt;&amp;nbsp;wrote:
&lt;P&gt;like the one in NI Week 2019 below: (unfortunately can't find the example source code)&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":frowning_face:"&gt;☹️&lt;/span&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Found the link &lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.studiobods.com/en/niweek2019-ts170/" target="_blank" rel="noopener"&gt;Learn how to create powerful web apps with LabVIEW NXG Web Module - NI WEEK 2019&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 09 Oct 2021 11:17:43 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/G-Web-Development-Software/Username-password-for-a-web-application/m-p/4184239#M93</guid>
      <dc:creator>ThamS</dc:creator>
      <dc:date>2021-10-09T11:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: Username/password for a web application</title>
      <link>https://ni.lithium.com/t5/G-Web-Development-Software/Username-password-for-a-web-application/m-p/4190384#M119</link>
      <description>&lt;P&gt;Awesome tutorial. Finally got me get started with some working code&lt;/P&gt;</description>
      <pubDate>Sun, 07 Nov 2021 20:21:42 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/G-Web-Development-Software/Username-password-for-a-web-application/m-p/4190384#M119</guid>
      <dc:creator>aartjan</dc:creator>
      <dc:date>2021-11-07T20:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: Username/password for a web application</title>
      <link>https://ni.lithium.com/t5/G-Web-Development-Software/Username-password-for-a-web-application/m-p/4190901#M128</link>
      <description>&lt;P&gt;The tutorial above has very nice example code on how to implement user authentication from within a web application. It uses the session VIs that are part of the webservices tools. These session VI's allow you to set cookies and set parameters. The http client adds these parameters to each http request, making it easy to see which authenticated user issued the request. But here's is where I got stuck. The session VIs are supported by the application web server only and thus not by the NI web server.&lt;/P&gt;
&lt;P&gt;I am now attempting to manually implement a session cookie, but I do not have this functional yet (cookie gets overwritten).&lt;/P&gt;</description>
      <pubDate>Tue, 09 Nov 2021 21:27:44 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/G-Web-Development-Software/Username-password-for-a-web-application/m-p/4190901#M128</guid>
      <dc:creator>aartjan</dc:creator>
      <dc:date>2021-11-09T21:27:44Z</dc:date>
    </item>
    <item>
      <title>Re: Username/password for a web application</title>
      <link>https://ni.lithium.com/t5/G-Web-Development-Software/Username-password-for-a-web-application/m-p/4289298#M472</link>
      <description>&lt;P&gt;Can anyone share the example source code? I cannot get the download link from studiobods link provided.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2023 09:25:33 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/G-Web-Development-Software/Username-password-for-a-web-application/m-p/4289298#M472</guid>
      <dc:creator>irfanabid</dc:creator>
      <dc:date>2023-03-08T09:25:33Z</dc:date>
    </item>
    <item>
      <title>Re: Username/password for a web application</title>
      <link>https://ni.lithium.com/t5/G-Web-Development-Software/Username-password-for-a-web-application/m-p/4365529#M719</link>
      <description>&lt;P&gt;Hey, thank you for sharing how the code worked. Can you please share that working code? I can't download it from the link above provided.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2024 17:40:53 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/G-Web-Development-Software/Username-password-for-a-web-application/m-p/4365529#M719</guid>
      <dc:creator>Ghdez</dc:creator>
      <dc:date>2024-04-08T17:40:53Z</dc:date>
    </item>
  </channel>
</rss>

