user uploads to website

C

CB on FP

I am using FP2003 for an small non-profit organization website. Members of the board would like to be able to place content on specific pages for which they would be responsible. I've experimented using the INCLUDE PAGE feature in an editable region of a DWT. They could upload a .htm file using a form and then INCLUDE PAGE reads the file. I can give out a specific filename for each contributor to use. All would be well except that a user name and password are required to do the upload. Short of giving each board member the site user name and password, which is pretty risky, is there a way I can open up the file upload form to them? The ADMIN page provided by my WPP (that has the FP extensions but not SharePoint) doesn't have any place to create users or set permissions, but is that the method I would need to use?
 
S

Stefan B Rusynko

FP DWT and Includes are Design time tools
- not run time tools
- even if you gave tem rights any updates they make would not show

You need a database solution




| I am using FP2003 for an small non-profit organization website. Members of the board would like to be able to place content on
specific pages for which they would be responsible. I've experimented using the INCLUDE PAGE feature in an editable region of a DWT.
They could upload a .htm file using a form and then INCLUDE PAGE reads the file. I can give out a specific filename for each
contributor to use. All would be well except that a user name and password are required to do the upload. Short of giving each board
member the site user name and password, which is pretty risky, is there a way I can open up the file upload form to them? The ADMIN
page provided by my WPP (that has the FP extensions but not SharePoint) doesn't have any place to create users or set permissions,
but is that the method I would need to use?
 
J

Jim Buyens

The correct approach depends *a lot* on the type of
content, but in general, you don't want all of these
people uploading complete Web pages. Instead, you should
store their content in a database. When they need to
update the content, they update the database. When a
visitor requests the page, the Web server merges the
database content into the HTML.

Typically, this requires programming skills in ASP or
ASP.NET.

In most cases, you have to write your own security code as
well. Your database would also contain a table of valid
usernames and passwords, and the application would match
the visitor's input against those fields.

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------

-----Original Message-----
I am using FP2003 for an small non-profit organization
website. Members of the board would like to be able to
place content on specific pages for which they would be
responsible. I've experimented using the INCLUDE PAGE
feature in an editable region of a DWT. They could upload
a .htm file using a form and then INCLUDE PAGE reads the
file. I can give out a specific filename for each
contributor to use. All would be well except that a user
name and password are required to do the upload. Short of
giving each board member the site user name and password,
which is pretty risky, is there a way I can open up the
file upload form to them? The ADMIN page provided by my
WPP (that has the FP extensions but not SharePoint)
doesn't have any place to create users or set permissions,
but is that the method I would need to use?
 
C

CB on FP

Jim

The content is just plain text, news about the area of their interest, what would be a single text field in a database, so I was hoping to avoid all of the individuals relying on yours truly, the webmaster, to take their content and insert it for them. A simple MS Word file saved as an .htm seemed like a perfect solution to keep them from having to do any actual webpage work or gaining access to the website structure, and the file would nicely conform to the editable region in my DWT.

Thanks for your response and MANY thanks for your excellent FP Inside and Out book, which I study constantly (apparently not enough!). The insights, cautions and tips you offer make it far better than a "follow me through the menu" book.
 
J

Jim Buyens

If you expect a fixed number of files (such as one for state, one for
national, and one for world) you could have the contributors save
their MS Word files in HTML format, and in a different subweb. Then,
your site could use a frameset or iframe to display the variable
content.

Usually, though, news pages have a menu of articles (in descending
date sequence) that the visitor clicks to see an article of interest.
In that case, you'd still have to write some ASP or ASP.NET code to
generate that menu on the fly.

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------


CB on FP said:
Jim

The content is just plain text, news about the area of their
interest, what would be a single text field in a database, so I was
hoping to avoid all of the individuals relying on yours truly, the
webmaster, to take their content and insert it for them. A simple MS
Word file saved as an .htm seemed like a perfect solution to keep them
from having to do any actual webpage work or gaining access to the
website structure, and the file would nicely conform to the editable
region in my DWT.
 
Top