Friday again, it call for another working day in a week of the month :)
By chance I got hit by a cartoon draw on the Kapuchea Thmei newspaper it just hit me so hard that I can't stand but post it for you guy so check this out
Don't you wish your girlfriend just like this? trouble!
Friday, January 19, 2007
Security for the Geek
ក្រោយពេលសំរាកពីការងារនាល្ងាចមួយខ្ញុំបានបើកមើលអាល់ប៊ុមរូបថតចាស់ៗ រូបខាងក្រោមនេះធ្វើអោយខ្ញុំនឹកនូវសំដីដែលគ្រូ Module: Network Security និយាយប្រាប់នាទីចុងក្រោយថា Martin:
"Security is not a product, it is a process"
Think like a alien, defend in deep like the layer of an onion,
the chain is as strong as it weakness link.
delay attack against brute force attack.
Think like a alien, defend in deep like the layer of an onion,
the chain is as strong as it weakness link.
delay attack against brute force attack.
Thursday, January 11, 2007
Database programming in a disconnected environment
This is a pre-release post!
How many time have you encounter with this problem? During the course of my carrier 99.9% of the time I need to write database application in a disconnected manner. I decided to write this up and if you got some gut to try it as your assignment ;)
$diagram_place_holder$
Scope:
Let try to solve this problem base on OOP language
How many time have you encounter with this problem? During the course of my carrier 99.9% of the time I need to write database application in a disconnected manner. I decided to write this up and if you got some gut to try it as your assignment ;)
$diagram_place_holder$
Scope:
- Application that run on a single workstation
- Be able to consolidate data from multiple data from the workstation (incremental dataset)
- Allow DBA to consolidate & tracking changed records from each station (for various reasons).
- No WAN available (CRUD process on a single machine)
- Each station rely on slow e-mail connection to submit update dataset
Let try to solve this problem base on OOP language
- ASP.NET 2.0 (? I hope one day all station got will be on WAN)
- Data Transfer Object (DTO) + use internally by DAL
- Implement Data Access Layer (DAL) + support Import/Export functionality.
- Business Logic Layer (BLL) -- interact from user interface (form), use DAL internally
- Avoid using composite primary key
- Recommended field name:
IsActive = T/F,
IsDeleted = T/F, -- logical deletion
CreatedBy NVARCHAR(50),
CreatedOn DATETIME,
ModifiedBy NVARCHAR(50),
ModifiedOn DATETIME -- using this field to extract data into DTO object - DataSyn table to store the status of data extraction
- Obsolated table to store deleted record of each table.
Tuesday, January 09, 2007
Debugging failed because integrated Windows authentication is not enabled
On of the annoying error message while trying to debug my ASP.NET application.
The fact, I just did a clean install my machine (winxp) and manually create virtual directory from IIS and epected it just work, but no I need to perform a few additional step to make thing work.
Enable Integrated Windows Authentication on the local IIS
The fact, I just did a clean install my machine (winxp) and manually create virtual directory from IIS and epected it just work, but no I need to perform a few additional step to make thing work.
Enable Integrated Windows Authentication on the local IIS
- Open IIS Manager (Internbet Information Services)
- Right-click the web site (in case you run it locally you only have Default web site) and pick Properties
- Choose "Directory Security" tab and click Edit on "Anonymous access and authentication control"
- In the opening window, uncheck "Allow Anonymous access" and check "Integrated Windows Authentication" (allowing anonymous can make that you don't have enough permissions to debug)
Subscribe to:
Posts (Atom)