Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / May 2005

Tip: Looking for answers? Try searching our database.

protect form template

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
marga - 14 May 2005 00:57 GMT
I want to protect form template. And also prevent users from saving the form
template and changing it. Is there a way to do this?

I am publishing form on a web server. I also wants to know if the form is
being used from published location or from user's desktop. Is it possible to
pass form location and version as parameters to webservice?
Alex [MSFT] - 15 May 2005 23:03 GMT
Marga,

Unfortunately, I do not believe you will be able to prevent users from
saving the form template to their own computer and changing it. InfoPath
needs to download a form template from the web server so that the users
could fill it out; the same operation can be performed with a browser.

That said, if you are concerned with your application logic being
overridden, you do have power. For example, if you have a total cost
field in the InfoPath form that is calculated as cost * quantity, and
you are concerned that someone will download the form template to their
machine, modify it, and submit a malformed, malicious request to your
web service, thus obtaining goods/services for less than cost *
quantity. What you need to do is to put (or replicate) all data
validation logic on the web service side. This will help you make sure
that the data does, in fact, satisfy your business logic.

On the question about getting the published location and version: yes,
you can obtain these through the Object Model - usew Solution's URI and
Version properties (more info in the SDK OM manual). Yes, you can send
these to the web service as well.

Good luck,
Alex @ Microsoft

-----Original Message-----
From: marga [mailto:marga@discussions.microsoft.com]
Posted At: Friday, May 13, 2005 4:57 PM
Posted To: microsoft.public.infopath
Conversation: protect form template
Subject: protect form template

I want to protect form template. And also prevent users from saving the
form
template and changing it. Is there a way to do this?

I am publishing form on a web server. I also wants to know if the form
is
being used from published location or from user's desktop. Is it
possible to
pass form location and version as parameters to webservice?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.