From October anybody in the UK wishing to file a Self Assessment Tax Return will have to do so online, otherwise they risk ‘severe financial penalties’.
Unless you are rich or famous.
In which case the system is not secure enough and you will be treated differently.
Are we not all entitled to the same level of protection and security regardless of our wealth or fame ?
For the full story see the Daily Telegraph
This kind of thing *really* annoys me ...
"The only difference between a rut and a grave... is in their dimensions." - Ellen Glasglow
Saturday, 9 February 2008
Online Tax Returns ... Too Risky ?
Tuesday, 15 January 2008
Jeremy Clarkson Hacked
In a recent blog article I talked about the fact that the UK government has lost computer discs containing 25 million peoples records including information such as bank account details and national insurance numbers.
In his usual highly uninformed (but hilarious) way (ref: his comments on motorcyclists) he wrote in the Sun (rubbish tabloid) that this loss by the government wasn’t a big deal as after all the account details could be used only to put money in ... so to prove his point he published his own bank account details in the newspaper ...
He was therefore surprised when he saw his bank statement and realised that somebody had setup a monthly direct debit of £500 to the Diabetes Uk charity. I suspect if he has any honour he will cancel the Direct Debit but let them keep the £500 that has already been taken. He is lucky he attracted the attention of someone looking to prove a point not someone who actually wanted to rip him off ...
It was probably a tech savvy biker ☺
It’s a funny and fitting story - but it does prove a point - we should all be more careful in future ...
"Anger at lies lasts forever. Anger at truth can't last." - Greg Evans
Oracle: CUBE
ROLLUP and CUBE are extensions to the GROUP BY functionality of the Select statement. The following select statement demonstrates basic use of CUBE:
select soh_cucode, soh_owner, sum(soh_net) from guser.f_sohdr
where soh_date between '01 JUN 2007' and '30 JUN 2007'
group by cube (soh_cucode, soh_owner)
This statement will give output that looks like the following:
The output is very similar to the output from ROLLUP, with the exception that CUBE also performs a subtotal by Salesperson at the end of the results set, followed by the total for all Customers, the same as the ROLLUP option.
Between them CUBE and ROLLUP add an extra an very useful dimension to your SQL reporting toolkit. For more information or to explore the options further, consult the Oracle documentation.
Software Development * Security * Database * Technology * Training * Networking * Virtualisation
Technology Consultancy from GENeSYS Solutions
www.genesyssolutions.co.uk
"What counts is not necessarily the size of the dog in the fight - it's the size of the fight in the dog." - Dwight D Eisenhower
Oracle: ROLLUP
ROLLUP and CUBE are extensions to the GROUP BY functionality of the Select statement. The following select statement demonstrates basic use of ROLLUP:
select soh_cucode, soh_owner, sum(soh_net) from guser.f_sohdr
where soh_date between '01 JUN 2007' and '30 JUN 2007'
group by rollup (soh_cucode, soh_owner)
This statement will give output that looks like the following:
Within Customer Code the Grouping occurs via the Salesperson. For each Salesperson a Summary Total is shown and then finally a Total for that Customer, basically the sum of the values of each Salespersons orders. The bottom of the results set shows the Total Value of orders within the period for all Customers.
So basically the ROLLUP has worked like this:
TOTAL ORDERS BY SALESPERSON
TOTAL ORDERS BY CUSTOMER
TOTAL ORDERS
"Not the power to remember, but its very opposite, the power to forget, is a necessary condition for our existence." Sholem Asch
Thursday, 10 January 2008
Blu-Ray Wins ?
The High Definition format war may just have been won by Sony’s Blu-Ray technology. Blu-Ray has been outselling HD-DVD by two to one recently and this week high profile Hollywood Studio Warners Bros have switched allegiances to the format.
In addition Microsoft have announced that an external Blu-Ray player may be made available to connect to their XBox-360 console.
Reminder To Self: Buy Playstation 3
"If you can react the same way to winning and losing, that is a big accomplishment. That quality is important because it stays with you the rest of your life." - Chris Evert
Sunday, 23 December 2007
pcWatcher 1.0 Uploaded
I have just uploaded pcWatcher to my website. A screenshot can be viewed here and the program can be downloaded free of charge here. Here’s an extract from the README file supplied with the program:
PCWATCHER is a Windows utility, written in .NET that performs three functions:
Memory Monitor: pcWatcher monitors the amount of memory that you are using and displays it in real time within the window.
File Monitor: pcWatcher can monitor files that are Created, Deleted or Changed and displays these to the screen.
Spy Alert: pcWatcher checks for the existence of the spy programs Spector Pro and eBlaster, and alerts you if these are installed on your system.
In addition pcWatcher displays additional information such as the status of your network connection, the version of windows you are using, the computer and user name.
"Time is the coin of your life. It is the only coin you have, and only you can determine how it will be spent. Be careful lest you let other people spend it for you." - Carl Sandburg
GenDAT: Fantastic Software
www.fantasticfreeware.com have included GenDAT in their collection of 2000 of the best Freeware programs. Good Stuff ☺
"If you treat people right they will treat you right - ninety percent of the time." - Franklin D Roosevelt
Oracle: User Account Security ...
Oracle has a bewildering array of security features to help you to make sure that your users access only what they need and to ensure that you have very fine control over their abilities.
A couple of things you should look at first, the following parameters are off by default and you should make sure that unless you have a very good reason, they stay set to false:
O7_DICTIONARY_ACCESSIBILITY = FALSE
REMOTE_OS_AUTHENT = FALSE
In addition you should check the privileges that have been assigned to PUBLIC and remove any that you are not comfortable with. Remember the principle of ‘Least Privilege’.
You should also absolutely minimise the amount of users who have ADMIN access.
Whenever an Oracle database is created the users SYS and SYSTEM are also created. If you use DBCA (Database Configuration Assistant) to create your database you will also have SYSMAN and DNSNMP.
SYS - Data Dictionary Owner
SYSTEM - Admin Account
SYSMAN - Used by Enterprise Manager (EM)
DBSNMP - Used by Enterprise Manager (EM)
Check all the default accounts that are created and make sure that those you don’t initially need are locked and have their password expired. The following statement shows how this is accomplished:
ALTER USER pip PASSWORD EXPIRE ACCOUNT LOCK
Assuming you are using database authentication of your users, then password security rules are enforced through profiles. Listed below are some of the password security profile parameters that you can use:
FAILED_LOGIN_ATTEMPTS - maximum consecutive count
PASSWORD_LOCK_TIME - days (or part of ie: 5/1440 = 5 Minutes) to lock the account
PASSWORD_LIFE_TIME - maximum days for this password to exist
PASSWORD_GRACE_TIME - number of days following the first successful login after the password expiry and the users are reminded to change their password, but can still log in
PASSWORD_REUSE_TIME - minimum days before password reuse
PASSWORD_REUSE_MAX - minimum changes of password before reuse allowed
These parameters are set in the following way:
CREATE PROFILE passwordlimit LIMIT
PASSWORD_LOCK_TIME 1
FAILED_LOGIN_ATTEMPTS 3
"Courage is fear that has said its prayers." - Dorothy Bernard
Oracle Views
An Oracle database consists of a vast amount of underlying metadata that stores information about the database itself. This metadata is extremely cryptic and as such Oracle have provided ‘user friendly’ views to enable the user or DBA to view this data in a meaningful format.
There are two types of Oracle Views:
Data Dictionary Views
Dynamic Performance Views
Data Dictionary Views begin with DBA_ , USER_ or ALL_ . The difference is as follows: DBA_ Views show information on all the tables in the database, ALL_ shows information on all the tables that you own or have been granted access to. USER_ shows information on all the tables that you own.
There are some differences between Data Dictionary Views and Dynamic Performance Views:
Data Dictionary Views usually have plural names (DBA_TABLES), Dynamic Performance Views, singular (V$DATAFILE)
Data Dictionary Views are only available whilst the database is open, some V$ Views are available when the DB is not fully open
The data in Data Dictionary Views is usually UPPERCASE whilst V$ data is usually lowercase
The data in Data Dictionary Views is static and not cleared when the DB is restarted, V$ data is cleared after a restart
Examples of Data Dictionary Views
DBA_TABLES
DBA_TABLESPACES
DBA_USERS
DBA_VIEWS
Examples of Dynamic Performance Views
V$VERSION
V$OPTION
V$DATABASE
V$SQL
"The truth is not simply what you think it is; it is also the circumstances in which it is said, and to whom, why and how it is said." - Vaclav Havel
Oracle: COMMENT ON ...
A little known / little used feature of Oracle is the COMMENT ON TABLE / COMMENT ON COLUMN facility. Basically this allows each table and column to have a descriptive text applied to it. It is common to have descriptive text for both tables and columns contained within your application schema, or in a separate data dictionary type document, but it would be nice for that information to be available via external tools that access and / or modify the database without referring to separate documentation.
The feature is used in the following way:
COMMENT ON TABLE mytable IS ‘This is my Master Table’
COMMENT ON COLUMN mytable.primarykey IS ‘Unique ID from Sequence SEQ_MASTER’
The comments can be displayed by querying the following views:
DBA_TAB_COMMENTS
DBA_COL_COMMENTS
ALL_TAB_COMMENTS
ALL_COL_COMMENTS
USER_TAB_COMMENTS
USER_COL_COMMENTS
If you have a schema within your application that contains comments on both the table and column levels it should be very straightforward to write a small program to loop through your schema data and write those comments into Oracle. It could be a couple of hours well spent.
"The excellence of a gift lies in its appropriateness rather than in its value." - Charles Dudley Warner

