Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book General > Deals and Resources (No Self-Promotion or Affiliate Links)

Notices

Reply
 
Thread Tools Search this Thread
Old 08-26-2008, 10:03 AM   #1
atidball
Enthusiast
atidball can teach chickens to fly.atidball can teach chickens to fly.atidball can teach chickens to fly.atidball can teach chickens to fly.atidball can teach chickens to fly.atidball can teach chickens to fly.atidball can teach chickens to fly.atidball can teach chickens to fly.atidball can teach chickens to fly.atidball can teach chickens to fly.atidball can teach chickens to fly.
 
Posts: 42
Karma: 3814
Join Date: Apr 2008
Device: Sony PRS-505
Free ebook from Microsoft Press: Writing Secure Code, 2nd Ed

Showed up in my MSDN newsletter. Offer good through August 27 (tomorrow).

https://www.microsoftelearning.com/e...enterCode.aspx

A valid Windows Live ID is required. The access code is 7234-N4E8-4995.

It's in PDF format. You can download individual chapters or the whole book. There must not be any DRM on it because I downloaded and viewed within Linux.
atidball is offline   Reply With Quote
Old 08-26-2008, 10:30 AM   #2
igorsk
Wizard
igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.
 
Posts: 3,442
Karma: 300001
Join Date: Sep 2006
Location: Belgium
Device: PRS-500/505/700, Kindle, Cybook Gen3, Words Gear
Three more free ebooks:
http://www.microsoft.com/learning/vs...ult.mspx#EBOOK
igorsk is offline   Reply With Quote
Advert
Old 08-26-2008, 01:07 PM   #3
simond
Fanatic
simond ought to be getting tired of karma fortunes by now.simond ought to be getting tired of karma fortunes by now.simond ought to be getting tired of karma fortunes by now.simond ought to be getting tired of karma fortunes by now.simond ought to be getting tired of karma fortunes by now.simond ought to be getting tired of karma fortunes by now.simond ought to be getting tired of karma fortunes by now.simond ought to be getting tired of karma fortunes by now.simond ought to be getting tired of karma fortunes by now.simond ought to be getting tired of karma fortunes by now.simond ought to be getting tired of karma fortunes by now.
 
Posts: 532
Karma: 1062755
Join Date: Aug 2005
Location: London, UK
Device: Kobo Aura One, iPad, iPhone
Not available in LIT format?
simond is offline   Reply With Quote
Old 08-27-2008, 04:25 AM   #4
acidzebra
Liseuse Lover
acidzebra ought to be getting tired of karma fortunes by now.acidzebra ought to be getting tired of karma fortunes by now.acidzebra ought to be getting tired of karma fortunes by now.acidzebra ought to be getting tired of karma fortunes by now.acidzebra ought to be getting tired of karma fortunes by now.acidzebra ought to be getting tired of karma fortunes by now.acidzebra ought to be getting tired of karma fortunes by now.acidzebra ought to be getting tired of karma fortunes by now.acidzebra ought to be getting tired of karma fortunes by now.acidzebra ought to be getting tired of karma fortunes by now.acidzebra ought to be getting tired of karma fortunes by now.
 
acidzebra's Avatar
 
Posts: 869
Karma: 1035404
Join Date: Jul 2008
Location: Netherlands
Device: PRS-505
I'm having a hard time reconciling "secure code" with "Microsoft"

Still, nice of them to make it available for free.
acidzebra is offline   Reply With Quote
Old 08-27-2008, 07:44 AM   #5
zelda_pinwheel
zeldinha zippy zeldissima
zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.
 
zelda_pinwheel's Avatar
 
Posts: 27,827
Karma: 921169
Join Date: Dec 2007
Location: Paris, France
Device: eb1150 & is that a nook in her pocket, or she just happy to see you?
Quote:
Originally Posted by acidzebra View Post
I'm having a hard time reconciling "secure code" with "Microsoft"
i found that pretty ironic too, to be honest... but yes, nice of them to make it available for free...
zelda_pinwheel is offline   Reply With Quote
Advert
Old 08-27-2008, 01:23 PM   #6
pilotbob
Grand Sorcerer
pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.
 
pilotbob's Avatar
 
Posts: 19,832
Karma: 11844413
Join Date: Jan 2007
Location: Tampa, FL USA
Device: Kindle Touch
Quote:
Originally Posted by acidzebra View Post
I'm having a hard time reconciling "secure code" with "Microsoft"

Still, nice of them to make it available for free.
Why is it that the legacy of MS from 20 years ago is still applied to it today?

BOb
pilotbob is offline   Reply With Quote
Old 08-27-2008, 01:30 PM   #7
acidzebra
Liseuse Lover
acidzebra ought to be getting tired of karma fortunes by now.acidzebra ought to be getting tired of karma fortunes by now.acidzebra ought to be getting tired of karma fortunes by now.acidzebra ought to be getting tired of karma fortunes by now.acidzebra ought to be getting tired of karma fortunes by now.acidzebra ought to be getting tired of karma fortunes by now.acidzebra ought to be getting tired of karma fortunes by now.acidzebra ought to be getting tired of karma fortunes by now.acidzebra ought to be getting tired of karma fortunes by now.acidzebra ought to be getting tired of karma fortunes by now.acidzebra ought to be getting tired of karma fortunes by now.
 
acidzebra's Avatar
 
Posts: 869
Karma: 1035404
Join Date: Jul 2008
Location: Netherlands
Device: PRS-505
Quote:
Originally Posted by pilotbob View Post
Why is it that the legacy of MS from 20 years ago is still applied to it today?
Unreasonable I know, because Vista and XP before that were pinnacles of secure code.


...
...


On a related note, you might enjoy this PDF.

Last edited by acidzebra; 08-27-2008 at 01:38 PM.
acidzebra is offline   Reply With Quote
Old 08-27-2008, 01:53 PM   #8
pilotbob
Grand Sorcerer
pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.
 
pilotbob's Avatar
 
Posts: 19,832
Karma: 11844413
Join Date: Jan 2007
Location: Tampa, FL USA
Device: Kindle Touch
Quote:
Originally Posted by acidzebra View Post
Unreasonable I know, because Vista and XP before that were pinnacles of secure code.
Well, I don't want to get into a history lesson... but since XP SP2 Windows has been very secure. Yes, there have been vulnerabilities found in various parts of it since then... but most of the issue was due to the fact that all users of XP pretty much ran as admin. If you know the *nix world you know that most people never run as admin/root.

But, due to the lazyness of Windows developers 99% of apps didn't run if you ran as a standard users... this wasn't really windows fault, but it is the perception.

They are changing that perception and actually being more pro-active with UAC. If people see the UAC prompt alot it is due to the fact the MS is now enforcing those best practices. Of course, now the perception is that "Vista" is the problem because of the UAC prompt showing so often... but the UAC prompt is only a response to an application that is doing something it probably shouldn't be doing such as accessing system folders or settings, etc.

Also, when Apple or Linux has the same issues or makes the same mistakes people are much more forgiving... I just don't understand that either? Did you know FireFox 2 had more security vulnerabilities reported against it than IE 7 did in the same time frames?

BOb
pilotbob is offline   Reply With Quote
Old 08-27-2008, 02:05 PM   #9
acidzebra
Liseuse Lover
acidzebra ought to be getting tired of karma fortunes by now.acidzebra ought to be getting tired of karma fortunes by now.acidzebra ought to be getting tired of karma fortunes by now.acidzebra ought to be getting tired of karma fortunes by now.acidzebra ought to be getting tired of karma fortunes by now.acidzebra ought to be getting tired of karma fortunes by now.acidzebra ought to be getting tired of karma fortunes by now.acidzebra ought to be getting tired of karma fortunes by now.acidzebra ought to be getting tired of karma fortunes by now.acidzebra ought to be getting tired of karma fortunes by now.acidzebra ought to be getting tired of karma fortunes by now.
 
acidzebra's Avatar
 
Posts: 869
Karma: 1035404
Join Date: Jul 2008
Location: Netherlands
Device: PRS-505
Quote:
Originally Posted by pilotbob View Post
If people see the UAC prompt alot it is due to the fact the MS is now enforcing those best practices. Of course, now the perception is that "Vista" is the problem because of the UAC prompt showing so often... but the UAC prompt is only a response to an application that is doing something it probably shouldn't be doing such as accessing system folders or settings, etc.
Right. Make the system nearly unusable, but hey, at least it is secure. Might as well pull the plug, that would be REALLY secure. You know what the response is of most users to UAC? Turn it off before it drives them nuts - because 90% of the time it pops up for completely innocuous things. End of security. And you still might want to read that PDF I linked to - because UAC is not the be-all end-all that they pretend it is.

Strangely enough, almost the only time when I see my "root password" prompt on my linux box is when I run the package update system.

Quote:
Originally Posted by pilotbob View Post
Also, when Apple or Linux has the same issues or makes the same mistakes people are much more forgiving... I just don't understand that either?
I'm sorry, I failed mob psychology 101 - and this is not relevant to the discussion of security.

Quote:
Originally Posted by pilotbob View Post
Did you know FireFox 2 had more security vulnerabilities reported against it than IE 7 did in the same time frames?BOb
And a quicker fix rate. While Microsoft was still denying certain vulnerabilities have impact, instead calling them 'theoretical', or scheduling them for next months patch batch.

Look, I don't want to step all over your Microsoft fandom, but I have been working with a mixed unix/windows environment as a system and later on network admin for many years now. I'm not just parroting what someone told me. I don't mind working with Microsoft, it is pretty much what you are going to get in a corporate environment, and they have made improvements, but XP wasn't exactly the most secure system, and Vista is a bust for various reasons. Let's hope the next iteration fares better.

And if I make little jokes about them, it is only because they so richly deserve it.

Last edited by acidzebra; 08-27-2008 at 02:15 PM.
acidzebra is offline   Reply With Quote
Old 08-27-2008, 02:31 PM   #10
pilotbob
Grand Sorcerer
pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.
 
pilotbob's Avatar
 
Posts: 19,832
Karma: 11844413
Join Date: Jan 2007
Location: Tampa, FL USA
Device: Kindle Touch
Quote:
Originally Posted by acidzebra View Post
Strangely enough, almost the only time when I see my "root password" prompt on my linux box is when I run the package update system.
Sure, that's because unix/linux has always enforced the security permissions and boundaries. Due to this unix programmers followed the rules and saved user data only to folders users had access to, etc.

Quote:
Originally Posted by acidzebra View Post
I'm sorry, I failed mob psychology 101 - and this is not relevant to the discussion of security.
Right, it has nothing to do with security, which you claim XP and Vista has none... that was what I was originally responding to. Above you still say people turn UAC off because "Vista" is unuseable. But, it is actually the porrly written apps which cause the prompt.

Quote:
Originally Posted by acidzebra View Post
Look, I don't want to step all over your Microsoft fandom, but I have been working with a mixed unix/windows environment as a system and later on network admin for many years now.
Belive me, as a Windows developer I am far from a fanboy... the opposite in fact. But, you have to remember you can't judge someone who wrote a book that was published by MS Press as not knowing how to write secure code. If MS took the Apple route and threw away backward compatiblity in order to be 100% secure people would be trash talking them more than they do for the baby steps they took in Vista. You are complalining that they did exactally what you are asking for! Imagine if they went all the way and only 2% of current windows apps ran?

Quote:
Originally Posted by acidzebra View Post
And if I make little jokes about them, it is only because they so richly deserve it.
If you say so.

BOb
pilotbob is offline   Reply With Quote
Old 08-27-2008, 04:02 PM   #11
acidzebra
Liseuse Lover
acidzebra ought to be getting tired of karma fortunes by now.acidzebra ought to be getting tired of karma fortunes by now.acidzebra ought to be getting tired of karma fortunes by now.acidzebra ought to be getting tired of karma fortunes by now.acidzebra ought to be getting tired of karma fortunes by now.acidzebra ought to be getting tired of karma fortunes by now.acidzebra ought to be getting tired of karma fortunes by now.acidzebra ought to be getting tired of karma fortunes by now.acidzebra ought to be getting tired of karma fortunes by now.acidzebra ought to be getting tired of karma fortunes by now.acidzebra ought to be getting tired of karma fortunes by now.
 
acidzebra's Avatar
 
Posts: 869
Karma: 1035404
Join Date: Jul 2008
Location: Netherlands
Device: PRS-505
Quote:
Originally Posted by pilotbob View Post
Sure, that's because unix/linux has always enforced the security permissions and boundaries. Due to this unix programmers followed the rules and saved user data only to folders users had access to, etc.
So windows didn't have these permissions and boundaries from the get-go, yet when it all goes pear-shaped, it is the fault of the developers who built on top of that shoddy codebase? How does that work?

Quote:
Originally Posted by pilotbob View Post
Right, it has nothing to do with security, which you claim XP and Vista has none
*reads back* nope, didn't claim that.

Quote:
Originally Posted by pilotbob View Post
Belive me, as a Windows developer I am far from a fanboy... the opposite in fact.
So you are a windows developer who doesn't like windows but who jumps in every time you perceive a slight against Microsoft being made? I mean seriously, that was a totally innocuous joke at the beginning of the thread.

Quote:
Originally Posted by pilotbob View Post
But, you have to remember you can't judge someone who wrote a book that was published by MS Press as not knowing how to write secure code.
Again, something I didn't say. Let's revisit my original quote:
Quote:
"I'm having a hard time reconciling "secure code" with "Microsoft"
I didn't say the guy who wrote it was crap, I didn't say Microsoft was crap, all I said was that given past experiences, I can see some irony here.

Quote:
Originally Posted by pilotbob View Post
If MS took the Apple route and threw away backward compatiblity in order to be 100% secure people would be trash talking them more than they do for the baby steps they took in Vista. You are complalining that they did exactally what you are asking for! Imagine if they went all the way and only 2% of current windows apps ran?
They didn't do what I was asking for at all. In fact, I didn't ask for anything. UAC is a lame stopgap measure - typical bolt-on security and implemented in the worst possible way. I know they had very little choice and none of the choices were particularly appealing, but Microsoft must lie in the bed it made for itself.

Last edited by acidzebra; 08-27-2008 at 04:12 PM.
acidzebra is offline   Reply With Quote
Old 08-30-2008, 03:05 PM   #12
haridasi
Zealot
haridasi will become famous soon enoughharidasi will become famous soon enoughharidasi will become famous soon enoughharidasi will become famous soon enoughharidasi will become famous soon enoughharidasi will become famous soon enough
 
haridasi's Avatar
 
Posts: 119
Karma: 603
Join Date: May 2008
Location: Oslo, Norway
Device: irex iliad
Actually, writing secure code by Microsoft press is a classic for c++ developers (rated high up in the "must read" section). Things written there doesn't only apply for windows/microsoft world.

I have read several books from Microsoft press and they are high quality books. Right next to O'Reilly books.
haridasi is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Visual Basic 2008 - eBook kostenlos von Microsoft Press readx E-Books 3 12-02-2009 03:32 AM
Windows 7: eBook kostenlos bei Microsoft Press readx E-Books 1 10-26-2009 05:21 PM
Two Microsoft Press e-books for free until April 22 (PDF) IceHand Deals and Resources (No Self-Promotion or Affiliate Links) 5 04-16-2009 03:19 PM
Microsoft Press e-books for free (Vista + Visual C#) TadW Deals and Resources (No Self-Promotion or Affiliate Links) 2 02-21-2009 02:52 PM
Free ebook from Eos press AlexBell Deals and Resources (No Self-Promotion or Affiliate Links) 1 07-24-2008 11:38 AM


All times are GMT -4. The time now is 10:37 PM.


MobileRead.com is a privately owned, operated and funded community.