473,480 Members | 5,031 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Perhaps an XML file might do this trick?

I've got an application that many supervisors are going to use. However,
each one needs to see a different part of the information. Some supervisors
will all have the same view of the information with the same fields showing.
Others have variations on those fields to see.

The idea is that when an error is made in a certain business process, a log
entry of it would be made. The department responsible would have its
supervisor notified by e-mail. So, in our database, we have a list of all
the departments, but no easy association from the Department to its
supervisor. (Perhaps that's something I'll need to work on)

Anyways, what I want to do is to store an XML file of the department ID's
and the ID of the supervisor to send an e-mail to. Not only that, but I'd
like to use an XML file to control which fields a person needs to see. But
I'm no XML guru by any means. With only 2.5 days to do this, I'm open to
suggestions on how to best implement these requirements.

--
Stephajn Craig
Nov 17 '05 #1
1 1223
This is a start....

The information I'm "protecting" and at the same time showing is coming out
of a database. The output is a datagrid bound to a datatable. The thought
occurs to me to pass the datatable through an XML transformation (perhaps
using an XSD file?) for whatever user is currently looking at it. And, to
use another XML file for determining the type of transformation to take
place. This way, no changes would have to be made to the underlying code of
the application, but rather to an XML file.

But while I may have a bit of theoretical design in mind,
1. I don't know if it's correct.
2. I don't have any idea how to implement this theory if I AM right.
--
Stephajn Craig
"Marty McDonald" <mc******@wsdot.wa.gov> wrote in message
news:u#**************@tk2msftngp13.phx.gbl...
I'm just learning XML myself. Concerning the information you're trying to
protect, is it an XML file too? If so, you can use namespace prefixes
throughout that XML document. Each prefix would represent the kind of role a person requires to view that particular information. From there, you can
use whatever method you'd like (such as XML transforms?) to get only those
fields a particular person is allowed to view. I know this might be vague, but maybe someone can elaborate further.
Marty

"Stephajn Craig" <s.*****@NOSPAMfunsunvacations.com> wrote in message
news:#e**************@TK2MSFTNGP10.phx.gbl...
I've got an application that many supervisors are going to use. However, each one needs to see a different part of the information. Some

supervisors
will all have the same view of the information with the same fields

showing.
Others have variations on those fields to see.

The idea is that when an error is made in a certain business process, a

log
entry of it would be made. The department responsible would have its
supervisor notified by e-mail. So, in our database, we have a list of all the departments, but no easy association from the Department to its
supervisor. (Perhaps that's something I'll need to work on)

Anyways, what I want to do is to store an XML file of the department ID's and the ID of the supervisor to send an e-mail to. Not only that, but I'd like to use an XML file to control which fields a person needs to see.

But
I'm no XML guru by any means. With only 2.5 days to do this, I'm open to suggestions on how to best implement these requirements.

--
Stephajn Craig


Nov 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
22520
by: Simon Wigzell | last post by:
My clients produces printing proofs on line and wants to send an email to the client with a link to the proof. That is all working fine, the proofs are in .pdf format so the email link is just the...
15
3566
by: SK | last post by:
Hey folks, I am searching for a string (say "ABC") backwards in a file. First I seek to the end. Then I try to make a check like - do { file.clear (); file.get(c); file.seekg(-2,...
16
3004
by: nephish | last post by:
Hey there, kinda newbie question here. i know how to read the lines of a txt file. i know how to write a txt file. but how do i overwrite a line value with another value ? i mean, how do go...
12
5829
by: Adam J. Schaff | last post by:
I am writing a quick program to edit a binary file that contains file paths (amongst other things). If I look at the files in notepad, they look like: ...
0
920
by: news | last post by:
n...@absamail.co.za wrote: > Using a script:-- > lynx -dump '<URL1>' > Fl1 > .... > lynx -dump '<URLn>' > Fln > .... > where the URLs are filled in off line, is a great online-telco-cost >...
7
3307
by: Adam | last post by:
Hello. I do most of my web dev work from a Mac (whose file system is case-insensitive.) I upload my web pages and other files onto a Unix-based host, which is case sensitive. When I look at the...
19
6042
by: VUNETdotUS | last post by:
Firefox showed me a security error when I was copying a value of file field object into new DOM created input file field. Can I do something about it? Thanks.
7
5873
by: gnewsgroup | last post by:
I see u guys talking about url rewriting, and then I came across www.actioncarting.com, where no page seem to have an extension like .aspx, .html, .shtml, .asp, .jsp, .php. Is this trick so-called...
6
4881
by: =?Utf-8?B?U2NvdHQgVHJpY2s=?= | last post by:
I followed the instructions from MSDN for Webclient UploadFile and I get an error: Could not find file 'C:\testfile.xls'. If I add the file (c:\testfile.xls) to the server I do not get the error...
0
7040
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6905
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7041
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6736
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5331
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
2994
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
2980
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1299
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
561
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.