By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
426,011 Members | 1,000 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 426,011 IT Pros & Developers. It's quick & easy.

Strong name a ASPX web Page --- Question

P: n/a
Hello,

Can anyone tell me how to strong name a web page?

Thanks
Gopal
Nov 18 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
Buck, Rock, and Dirk are all traditionally considered strong names. ;-)

Seriously, though, a page cannot have a strong name. An assembly can.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
I get paid good money to
solve puzzles for a living

"Gopal Krish" <ge*****@yahoo.com> wrote in message
news:8b**************************@posting.google.c om...
Hello,

Can anyone tell me how to strong name a web page?

Thanks
Gopal

Nov 18 '05 #2

P: n/a
Thanks Kevin,

Then my question is how to strong name an assembly that contains aspx
web page(s). I understand the runtime creates a assembly of the aspx
pages just before executing it.

Can I strong name that somehow?

The reason I ask this is strong names are really valuable to protect
code from hacking attempt but I can't use SecurityAction.Demand in my
class libraries because I could not strong name my ASPX pages (They do
full stack walk).

I know I can use LinkDemand or Assert but I also know they are less
secure than Demand / full stack walk.

SO, is there any way to strong name a ASPX assembly?



*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 18 '05 #3

P: n/a
You can give a strong name to ANY .Net assembly. Here's how:

http://msdn.microsoft.com/library/de...strongname.asp

I'm not sure what you mean by "an assembly that contains aspx web page(s)."
Only classes are in an assembly. The Template files are not.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
I get paid good money to
solve puzzles for a living

"Gopal Krish" <ge*****@yahoo.com> wrote in message
news:uY**************@TK2MSFTNGP11.phx.gbl...
Thanks Kevin,

Then my question is how to strong name an assembly that contains aspx
web page(s). I understand the runtime creates a assembly of the aspx
pages just before executing it.

Can I strong name that somehow?

The reason I ask this is strong names are really valuable to protect
code from hacking attempt but I can't use SecurityAction.Demand in my
class libraries because I could not strong name my ASPX pages (They do
full stack walk).

I know I can use LinkDemand or Assert but I also know they are less
secure than Demand / full stack walk.

SO, is there any way to strong name a ASPX assembly?



*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 18 '05 #4

P: n/a
Interesting question!

Do you want to strong name the temporary assemblies the runtime
creates when it parses and compiles ASPX pages?

I can't think of a way to do this.

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Thu, 04 Nov 2004 17:40:06 -0800, Gopal Krish <ge*****@yahoo.com>
wrote:
Thanks Kevin,

Then my question is how to strong name an assembly that contains aspx
web page(s). I understand the runtime creates a assembly of the aspx
pages just before executing it.

Can I strong name that somehow?

The reason I ask this is strong names are really valuable to protect
code from hacking attempt but I can't use SecurityAction.Demand in my
class libraries because I could not strong name my ASPX pages (They do
full stack walk).

I know I can use LinkDemand or Assert but I also know they are less
secure than Demand / full stack walk.

SO, is there any way to strong name a ASPX assembly?



*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!


Nov 18 '05 #5

P: n/a
I couldn't answer that question, Gopal.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Neither a follower
nor a lender be.

"Gopal Krish" <ge*****@yahoo.com> wrote in message
news:uY**************@TK2MSFTNGP11.phx.gbl...
Thanks Kevin,

Then my question is how to strong name an assembly that contains aspx
web page(s). I understand the runtime creates a assembly of the aspx
pages just before executing it.

Can I strong name that somehow?

The reason I ask this is strong names are really valuable to protect
code from hacking attempt but I can't use SecurityAction.Demand in my
class libraries because I could not strong name my ASPX pages (They do
full stack walk).

I know I can use LinkDemand or Assert but I also know they are less
secure than Demand / full stack walk.

SO, is there any way to strong name a ASPX assembly?



*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 18 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.