Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Message of the Day program

Status
Not open for further replies.
Sep 29, 2005
39
US
Is there a way to prevent users (students) from editing the Message of the Day, while it's displaying. I have the .txt file hidden away as read only so that's not a problem (and the systems boot PXE).

What my concern is, when the message is being display (we use it as our acceptable use policy), it can be changed, cleared out and retyped to the users desires. Then it gets reloaded upon hitting disagree/agree.

If you use this tool, you can see what I mean when it displays . Just highlight all the text and hit delete. Then type what you want.

 
Maybe it's not understood what it is I'm looking for.

Here's a link to the app. that I'm talking about.


The issue of being locked down isn't a matter. It's when the application runs and displays the text from the file. That's when students can go and modify it, only when it's in RAM.

Another way of looking at this problem is this. Imagine a progam that displays a bunch of text. When it's displayed a person can highlight the text, then delete it or modify it, but is unable to save those changes back to the file. The display is the only place the changes can occur.

What I'm wanting to know, is if there is a way to lock the display of the text down, so that it's not changeable.
 
You could always use a different method to display your acceptable use policy. A favorite way of doing this is using the LegalNotice options within Windows.

The MS TID below gives you some tips, the message will appear when a user presses Ctrl-Alt-Delete and cannot be modified unless the users have access to the registry:


-----------------------------------------------------
"It's true, its damn true!"
-----------------------------------------------------
 
Thanks Lad,

I'll check that out. Right now we don't use the Ctrl-Alt-Delete, so I'll have to see how it works in our environment.
 
Well that worked pretty good. However, I can't use it because of a limitation on character count (255 for the string vs. over 3000 for the actual text).

Thanks anyway.
 
I guess I don't understand the issue. Why does it matter if they can change the text? It's only temporary. And they can't write. it reverts back the next time. I doubt that it's logging this to a file saying that JOE agreed to 'XXXXXX' Text.. So what difference does it make if they mess with it?





Marvin Huffaker, MCNE
 
Another thing you can try is to create a custom bitmap with all of your acceptable use details on and have it displayed at the Ctrl-Alt-Delete prompt instead of the NeetWare Bitmap.

To do this, create a simple Bitmap file in Paint (no bigger than say 600x400 pixels), add your required details to it, and save the file as C:\Windows\NWELCOME.BMP (overwriting the existing one). Hopefully, when you reboot the Ctrl-Alt-Delete screen will be this bitmap. And providing your PCs C: are restricted by ZEN Policies, the users will not be able to edit this Bitmap.

-----------------------------------------------------
"It's true, its damn true!"
-----------------------------------------------------
 
Marv, my guess is the kids are leaving 'cute' messages there for the next student who logs on.
 
LawnBoy,

Yes, they've been messing with it. Nothing major so far, I'm looking to be proactive here and prevent a harassment issue.
 
Use somthing else




This looks pretty kewl, but I wish I didn't test it my self on my system just to see what it does. If you click on disagree, it shuts down the PC. :( Would be amusing to sit in the library watching the students deal with this. Just waut for that smart ars to click disagree. You do have to install somthing on the PC, you'll have to play with this to make sure it's somthing you want to use.

Personally, I would write a script using AutoIT that would do pretty much the same thing, only it would be a self contained EXE requiring nothing to be installed on the PC.

=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
Brent Schmidt Certified nut case [hippy]
Senior Network Engineer
Keep IT Simple
 
I was just going to suggest AUTOIT myself.. It would be a great way for you to create something that does exactly what you want. and you can tweak it until perfect.

Marvin Huffaker, MCNE
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top