<?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 Using web services to grant access to the Flex Viewer in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/using-web-services-to-grant-access-to-the-flex/m-p/328090#M7839</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I will be writing code that calls methods from two web services that will decrypt and validate user-provided values before providing the user with access to the Flex Viewer. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The process is initiated from a .NET application. It will pass two encrypted values that identify the user. Flex will take each value, one at a time, along with a token, and call a method on the first web service. This web service will determine the validity of the passed data, and if valid, decrypt the value that identifies the user. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Once both user values are validated, they are then passed together in a method to a second web service, which evaluates whether both values in tandem are valid for accessing the Flex Viewer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After both web services are called and grant access, the Flex Viewer will load.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have imported both web services, which are on a remote server, into my Flex project. Before I write the code to call the methods, I need guidance on where to start. Will this process be initiated in MapManager.mxml, or somewhere else?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any other information that will help me will be appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Jun 2011 17:45:29 GMT</pubDate>
    <dc:creator>MarkHuffman</dc:creator>
    <dc:date>2011-06-24T17:45:29Z</dc:date>
    <item>
      <title>Using web services to grant access to the Flex Viewer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/using-web-services-to-grant-access-to-the-flex/m-p/328090#M7839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I will be writing code that calls methods from two web services that will decrypt and validate user-provided values before providing the user with access to the Flex Viewer. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The process is initiated from a .NET application. It will pass two encrypted values that identify the user. Flex will take each value, one at a time, along with a token, and call a method on the first web service. This web service will determine the validity of the passed data, and if valid, decrypt the value that identifies the user. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Once both user values are validated, they are then passed together in a method to a second web service, which evaluates whether both values in tandem are valid for accessing the Flex Viewer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After both web services are called and grant access, the Flex Viewer will load.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have imported both web services, which are on a remote server, into my Flex project. Before I write the code to call the methods, I need guidance on where to start. Will this process be initiated in MapManager.mxml, or somewhere else?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any other information that will help me will be appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jun 2011 17:45:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/using-web-services-to-grant-access-to-the-flex/m-p/328090#M7839</guid>
      <dc:creator>MarkHuffman</dc:creator>
      <dc:date>2011-06-24T17:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: Using web services to grant access to the Flex Viewer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/using-web-services-to-grant-access-to-the-flex/m-p/328091#M7840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I will be writing code that calls methods from two web services that will decrypt and validate user-provided values before providing the user with access to the Flex Viewer. &lt;BR /&gt;&lt;BR /&gt;The process is initiated from a .NET application. It will pass two encrypted values that identify the user. Flex will take each value, one at a time, along with a token, and call a method on the first web service. This web service will determine the validity of the passed data, and if valid, decrypt the value that identifies the user. &lt;BR /&gt;&lt;BR /&gt;Once both user values are validated, they are then passed together in a method to a second web service, which evaluates whether both values in tandem are valid for accessing the Flex Viewer.&lt;BR /&gt;&lt;BR /&gt;After both web services are called and grant access, the Flex Viewer will load.&lt;BR /&gt;&lt;BR /&gt;I have imported both web services, which are on a remote server, into my Flex project. Before I write the code to call the methods, I need guidance on where to start. Will this process be initiated in MapManager.mxml, or somewhere else?&lt;BR /&gt;&lt;BR /&gt;Any other information that will help me will be appreciated.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Why not put the flex viewer object in an .aspx page and use the built-in .Net membership provider mechanism to enforce your security. That would also fit in nicely if you want to secure your map services so only authenticated user have access&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jun 2011 19:07:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/using-web-services-to-grant-access-to-the-flex/m-p/328091#M7840</guid>
      <dc:creator>RobertRectenwald</dc:creator>
      <dc:date>2011-06-27T19:07:24Z</dc:date>
    </item>
  </channel>
</rss>

