IRC Networks
Irc Logs Stats
Start date: 2007-09-27 02:48:27
Last update: 2008-10-24 20:19:38
Channels: 41
Logged Lines: 6230436
Size: 1822.61 MB
Powered by
Channel Info
Network: freenodeChannel: #csharp |
Search in www.irclog.org
Log from #csharp at freenode 2006-05-24
[23:46]<rrvsndn>its just runnin somewhere i can see it when i do ctl alt del
[23:46]<rrvsndn>what does that mean?
[23:47]<rxrcr>catseye, are you sure you need a windows service, or would a startup shortcut suffice?
[23:47]<dyguw>of course you can see it when you do Ctrl Alt Del, since it shows processes.
[23:47]<azyfm>uhm, isn't that what I've been telling you about three times now?
[23:47]<rrvsndn>i need a windows service
[23:47]<azyfm>your exe can't access the window station, because services can't access the window station
[23:47]<rxrcr>catseye, why?
[23:47]<rrvsndn>because the app starts up more than just once when the system starts
[23:48]<rrvsndn>so my app is runnin somewhere but not on the system tray?
[23:48]<dyguw>Jesus, how stupid are you?
[23:48]<dyguw>catseye: What the fuck is the matter with you?
[23:48]<rxrcr>catseye, when you use a windows service like this, it runs with service permissions, not your user permissions
[23:48]<dyguw>catseye: A process does not need a UI to run.
[23:49]<rxrcr>your service has no rights to put anything on your desktop
[23:49]<rxrcr>period
[23:49]<rgvjgys`>how do i make a target from HyperLink to my iframe ?
[23:49]<dyguw>catseye: I doesn't need to show up anywhere.
[23:49]<rrvsndn>ok
[23:49]<dyguw>s/I/it/
[23:49]<dyguw>catseye: You give me a headache.
[23:49]<dyguw>I am out of here.
[23:49]<rgvjgys`>how do i make a target from HyperLink to my iframe ?
[23:49]<rrvsndn>so if i make an exe with no interface that opens up my exe with an interface that would work?
[23:50]<rxrcr>catseye, technically it's working now, you just can't see it
[23:50]<rrvsndn>yah but i need to be able to see it
[23:50]<azyfm>no, permissions are inherited
[23:50]<azyfm>you can't
[23:50]<rrvsndn>dang it
[23:50]<sdnffdxdlld>if you need to see it its best to have it as a start up app not a service
[23:51]<rxrcr>catseye, why won't startup shortcuts work?
[23:51]<rrvsndn>because the app needs to be started more than just when the computer is booted
[23:51]<rrvsndn>it needs to be started several times a day
[23:51]<azyfm>use Windows Scheduler
[23:51]<sdnffdxdlld>but if you have to start the service why not just run the app :P
[23:52]<azyfm>services aren't for something that needs to run at intervals
[23:52]<azyfm>Raymond Chen wrote something about that
[23:52]<rrvsndn>well i dont kno the times it needs to start up
[23:52]<rrvsndn>its random can i still use windows scheduler?
[23:53]<azyfm>who knows when it needs to start up, then?
[23:53]<sdnffdxdlld>if its random how will you start the service?
[23:53]<rrvsndn>some admin guy
[23:53]<rrvsndn>some admin guy hits a button
[23:53]<sdnffdxdlld>then why cant he start an app?
[23:53]<sdnffdxdlld>...
[23:53]<rrvsndn>its remote
[23:53]<azyfm>that's the management console I'm talking about
[23:54]<azyfm>doesn't matter if it's remote, there are lots of RPC mechanisms that work over a LAN
[23:54]<rrvsndn>so itll be another exe?
[23:54]<azyfm>yes
[23:55]<azyfm>your admin runs the management app, that talks to the service over the network and tells it to do whatever it's supposed to do
[23:56]<rrvsndn>are u sure permissions are inherited?
[23:57]<azyfm>of course they are - if they weren't, a service could do privilege escalation
[23:58]<rrvsndn>ok
[23:58]<azyfm>"From a UI standpoint, the desktop is the security boundary. Once you let somebody run on your desktop, you implicitly trust them. Because now they can send your program random messages, inject hooks, hack at your window handles, edit your menus, and generally party all over you.
[23:58]<azyfm>That's why it is such a horrible mistake to let a service interact with the desktop. By joining the interactive desktop, you have granted trust to a security context you should not be trusting. Sure, it lets you manipulate objects on that desktop, but it also lets the objects on that desktop manipulate you."
[23:59]<rrvsndn>can a windows service write a file to a map drive?
[23:59]<rgvjgys`>how do i make a target from HyperLink to my iframe ?
[23:59]<azyfm>if you give the service account permissions on the share, suire







