How to force user enter User name and Password

T

Teuvo Tarvainen

Is there any way to force User to enter User name and Password before Submit
form to
SharePoint form library or before saving data to database and also
authenticate that user have
rights to use form?

The problem is that, if the form has left open in any workstation, anyone
can fill the form, even sign it digitally and submit or save it.

Thanks,
Teuvo Tarvainen
 
T

Teuvo Tarvainen

Thanks Greg,
I think that I use Windows API function 'LogonUser' which attempts to log a
user on to the local computer.
Requires Advapi32.dll.

You can find more information:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/secauthn/security/logonuser.asp

http://msdn.microsoft.com/library/d...ipalwindowsimpersonationcontextclasstopic.asp

--
Teuvo Tarvainen


"Greg Collins [InfoPath MVP]" <Greg.Collins_AT_InfoPathDev.com> wrote in
message 1. You can write custom submit code which checks for username / password.
2. You can make username / password fields so they cannot be blank.
3. You can conditionally disable an in-form submit button until username /
password are filled in.


--
Greg Collins [InfoPath MVP]
Please visit: http://www.InfoPathDev.com



Is there any way to force User to enter User name and Password before Submit
form to
SharePoint form library or before saving data to database and also
authenticate that user have
rights to use form?

The problem is that, if the form has left open in any workstation, anyone
can fill the form, even sign it digitally and submit or save it.

Thanks,
Teuvo Tarvainen
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top