Click here to Skip to main content
15,911,646 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionAdd reference Pin
VK-Cadec19-Jun-06 2:33
VK-Cadec19-Jun-06 2:33 
AnswerRe: Add reference Pin
Dave Kreskowiak19-Jun-06 3:45
mveDave Kreskowiak19-Jun-06 3:45 
Questionsecurity problem when writing to windows application log Pin
Rob 1234516-Jun-06 14:35
Rob 1234516-Jun-06 14:35 
AnswerRe: security problem when writing to windows application log Pin
progload17-Jun-06 15:48
progload17-Jun-06 15:48 
GeneralRe: security problem when writing to windows application log Pin
Rob 1234518-Jun-06 16:52
Rob 1234518-Jun-06 16:52 
GeneralRe: security problem when writing to windows application log Pin
progload18-Jun-06 20:01
progload18-Jun-06 20:01 
GeneralRe: security problem when writing to windows application log Pin
Rob 1234519-Jun-06 12:46
Rob 1234519-Jun-06 12:46 
GeneralRe: security problem when writing to windows application log Pin
progload19-Jun-06 21:51
progload19-Jun-06 21:51 
Rob,

Well It looks like bad news so far, you may be SOL for awhile, at least until a little more information starts comming out of MS.

I visited the winfx (vista) site and located the sample code for the registry settings called "RegistrySettingsProvider Sample" and right in the middle of the page is this BIG warning:

'--------------
Caution
This provider uses assembly metadata, such as product name, to determine a workable registry path in which to store settings. These are not secure metadata elements; they are reasonably safe from collision, but not at all safe from malicious tampering. A robust implementation of the provider, meant for use in a production environment, should improve upon this pathing algorithm.

Security Note
This sample code is provided to illustrate a concept and should not be used in applications or Web sites, as it may not illustrate the safest coding practices. Microsoft assumes no liability for incidental or consequential damages should the sample code be used for purposes other than as intended.
'--------------

So whoever posted that code at MS must be having the same problem, Not knowing how the security works.

Here is a link to the page, but the "security" part of the code doesn't exist, I downloaded it and checked it out.

http://windowssdk.msdn.microsoft.com/en-us/library/ms181001.aspx[^]

I guess at this point in time, and with it being a "beta" and all, your best bet is to run your code at administrative level until some more security information comes along.

I wish I had better news, and could help a bit more,

progload
QuestionDataview RowFilter efficiency problem Pin
eatwork16-Jun-06 7:45
eatwork16-Jun-06 7:45 
AnswerRe: Dataview RowFilter efficiency problem Pin
Robert Rohde16-Jun-06 9:39
Robert Rohde16-Jun-06 9:39 
GeneralRe: Dataview RowFilter efficiency problem Pin
eatwork16-Jun-06 10:23
eatwork16-Jun-06 10:23 
AnswerRe: Dataview RowFilter efficiency problem Pin
Dave Kreskowiak18-Jun-06 2:50
mveDave Kreskowiak18-Jun-06 2:50 
QuestionPanel_paint method Pin
reshsilk16-Jun-06 4:23
reshsilk16-Jun-06 4:23 
AnswerRe: Panel_paint method [modified] Pin
Ravi Bhavnani16-Jun-06 4:46
professionalRavi Bhavnani16-Jun-06 4:46 
GeneralRe: Panel_paint method Pin
reshsilk16-Jun-06 6:03
reshsilk16-Jun-06 6:03 
GeneralRe: Panel_paint method Pin
Robert Rohde16-Jun-06 9:43
Robert Rohde16-Jun-06 9:43 
GeneralRe: Panel_paint method Pin
Guffa16-Jun-06 5:00
Guffa16-Jun-06 5:00 
QuestionMemory Corrupt (Migration from 1.1 to 2.0) Pin
elcheah15-Jun-06 23:22
elcheah15-Jun-06 23:22 
QuestionMysterious .NET error. [modified] Pin
MY120115-Jun-06 21:51
MY120115-Jun-06 21:51 
AnswerRe: Mysterious .NET error. Pin
leppie15-Jun-06 22:16
leppie15-Jun-06 22:16 
QuestionShared Assemblies Pin
Garg, Deepak15-Jun-06 20:39
professionalGarg, Deepak15-Jun-06 20:39 
AnswerRe: Shared Assemblies Pin
Justin_Joseph16-Jun-06 1:50
Justin_Joseph16-Jun-06 1:50 
QuestionCompare Listview Items and return the index Pin
eatwork15-Jun-06 4:49
eatwork15-Jun-06 4:49 
AnswerRe: Compare Listview Items and return the index Pin
Josh Smith15-Jun-06 4:59
Josh Smith15-Jun-06 4:59 
GeneralRe: Compare Listview Items and return the index Pin
eatwork15-Jun-06 5:22
eatwork15-Jun-06 5:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.