Saturday, March 24, 2012

Strong name a ASPX web Page Question

Hello,

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

Thanks
GopalBuck, 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" <geeksgk@.yahoo.com> wrote in message
news:8b4092e6.0411041121.7cdcfe25@.posting.google.c om...
> Hello,
> Can anyone tell me how to strong name a web page?
> Thanks
> Gopal
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!
You can give a strong name to ANY .Net assembly. Here's how:

http://msdn.microsoft.com/library/d...ystrongname.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" <geeksgk@.yahoo.com> wrote in message
news:uYvdhhtwEHA.2568@.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!
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 <geeksgk@.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!
I couldn't answer that question, Gopal.

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

"Gopal Krish" <geeksgk@.yahoo.com> wrote in message
news:uYvdhhtwEHA.2568@.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!

0 comments:

Post a Comment