 |
BOOK: Beginning ASP.NET 4 : in C# and VB
 | This is the forum to discuss the Wrox book Beginning ASP.NET 4: in C# and VB by Imar Spaanjaars; ISBN: 9780470502211 |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the BOOK: Beginning ASP.NET 4 : in C# and VB section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
|
|
|
|
|

February 25th, 2013, 03:23 PM
|
|
Friend of Wrox
|
|
Join Date: Mar 2011
Posts: 126
Thanks: 39
Thanked 2 Times in 2 Posts
|
|
Roles and the Photo Album functionality
Hi Imar,
I noticed that NewPhotoAlbum.aspx and ManagePhotoAlbum.aspx are created in the root directory.
|
|

February 25th, 2013, 04:36 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Indeed; good observation ;-)
|
|

February 26th, 2013, 12:40 AM
|
|
Friend of Wrox
|
|
Join Date: Mar 2011
Posts: 126
Thanks: 39
Thanked 2 Times in 2 Posts
|
|
So sorry...I accidently posted the question before it was completed.
My apologies.
Tulsi
|
|

February 26th, 2013, 02:53 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
But what is the question?
Imar
|
|

February 26th, 2013, 11:49 AM
|
|
Friend of Wrox
|
|
Join Date: Mar 2011
Posts: 126
Thanks: 39
Thanked 2 Times in 2 Posts
|
|
I was wondering why NewPhotoAlbum.aspx and ManagePhotoAlbum.aspx are created in the root directory.
Would it be good design to move these 2 pages the PhotoAlbum folder? I was thinking that a user might want to create a role that would give only users that have been assigned to this role access to the Photo functionality.
Thank You.
Tulsi
|
|

February 27th, 2013, 06:17 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Yes, you can certainly do that, and it would make it easier to protect all related files at once by configuring permissions for the folder rather than for individual files. Just realize that if you'd do that now, viewing an existing album requires the same permissions as creating a new album, as all of them live in the same folder.
For the PlaneWrox site I didn't put them in a folder. Could have done so, want saved the few extra steps of creating the folder.
Cheers,
Imar
|
|

March 4th, 2013, 01:01 PM
|
|
Friend of Wrox
|
|
Join Date: Mar 2011
Posts: 126
Thanks: 39
Thanked 2 Times in 2 Posts
|
|
Thank you for the help and your prompt reply for all my questions. This has made the learning process so much easier :)
Tulsi
|
Similar Threads
|
| Thread |
Thread Starter |
Forum |
Replies |
Last Post |
| Photo Album Questions |
m3ben |
BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 |
1 |
April 4th, 2007 12:12 PM |
| paging in photo album |
xperre |
BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 |
1 |
April 2nd, 2007 03:32 PM |
| Error posting photo to photo album |
abel714 |
BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 |
10 |
February 5th, 2007 03:07 AM |
| Wrox Photo Album Help |
rsearing |
BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 |
6 |
September 27th, 2006 02:30 PM |
|
 |
|